[issue3002] Out of memory on update, log w/ stat, diff, ...
Zoltan Ormandi
bugs at mercurial.selenic.com
Mon Sep 12 10:50:09 CDT 2011
New submission from Zoltan Ormandi <zoltan.ormandi at twistedtribe.com>:
Hi,
We're having a problem using Mercurial with a "big" file. The file in
question is a text file (an SQL dump) and is about 17MB in size. The VCS
worked fine so far, but last week we ran into a problem where we got "abort:
out of memory" errors when trying to update to the latest revision of a
branch in our repo. The details are:
File: sql dump, 17MB with a diff (.d) file size of 9MB (about 200 revisions)
OS & software: 32-bit Windows 7, Mercurial 1.9.2
Command line "hg" outputs:
prompt>hg update --debug --trace 8836
searching for copies back to rev 8836
unmatched files in other:
Server/Sql/patches/static/0072_gui_enums_new_buttons.sql
resolving manifests
overwrite False partial False
ancestor 28ce874789e6 local 28ce874789e6+ remote ac5c168c7987
Server/Sql/static.data.sql: remote is newer -> g
Server/Sql/patches/static/0072_gui_enums_new_buttons.sql: remote created -> g
updating: Server/Sql/patches/static/0072_gui_enums_new_buttons.sql 1/2 files
(50.00%)
getting Server/Sql/patches/static/0072_gui_enums_new_buttons.sql
updating: Server/Sql/static.data.sql 2/2 files (100.00%)
getting Server/Sql/static.data.sql
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 87, in _runcatch
File "mercurial\dispatch.pyo", line 688, in _dispatch
File "mercurial\dispatch.pyo", line 463, in runcommand
File "mercurial\dispatch.pyo", line 742, in _runcommand
File "mercurial\dispatch.pyo", line 696, in checkargs
File "mercurial\dispatch.pyo", line 685, in <lambda>
File "mercurial\util.pyo", line 385, in check
File "mercurial\commands.pyo", line 5133, in update
File "mercurial\hg.pyo", line 395, in update
File "mercurial\merge.pyo", line 554, in update
File "mercurial\merge.pyo", line 350, in applyupdates
File "mercurial\context.pyo", line 360, in data
File "mercurial\filelog.pyo", line 38, in read
File "mercurial\revlog.pyo", line 902, in revision
MemoryError
abort: out of memory
prompt>hg log --debug --trace --stat static.data.sql
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 87, in _runcatch
File "mercurial\dispatch.pyo", line 688, in _dispatch
File "mercurial\dispatch.pyo", line 463, in runcommand
File "mercurial\dispatch.pyo", line 742, in _runcommand
File "mercurial\dispatch.pyo", line 696, in checkargs
File "mercurial\dispatch.pyo", line 685, in <lambda>
File "mercurial\util.pyo", line 385, in check
File "mercurial\extensions.pyo", line 137, in wrap
File "mercurial\util.pyo", line 385, in check
File "hgext\graphlog.pyo", line 397, in graph
File "mercurial\util.pyo", line 385, in check
File "mercurial\commands.pyo", line 3447, in log
File "mercurial\cmdutil.pyo", line 1136, in iterate
File "mercurial\commands.pyo", line 3445, in prep
File "mercurial\cmdutil.pyo", line 617, in show
File "mercurial\cmdutil.pyo", line 704, in _show
File "mercurial\cmdutil.pyo", line 716, in showpatch
File "mercurial\cmdutil.pyo", line 566, in diffordiffstat
File "mercurial\patch.pyo", line 1847, in diffstatui
File "mercurial\patch.pyo", line 1807, in diffstat
File "mercurial\patch.pyo", line 1788, in diffstatdata
File "mercurial\util.pyo", line 1188, in iterlines
File "mercurial\patch.pyo", line 1685, in trydiff
File "mercurial\context.pyo", line 360, in data
File "mercurial\filelog.pyo", line 38, in read
File "mercurial\revlog.pyo", line 902, in revision
MemoryError
abort: out of memory
This bug is an absolute blocker for us, to the point where we have to
consider migrating to a new VCS if you can't find a fix/workaround soon.
Thanks.
----------
messages: 17369
nosy: puzzles
priority: critical
status: unread
title: Out of memory on update, log w/ stat, diff, ...
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3002>
____________________________________________________
More information about the Mercurial-devel
mailing list