[issue1863] hg clone out of memory errors

daveb bugs at mercurial.selenic.com
Thu Oct 8 21:37:30 UTC 2009


New submission from daveb <david.beard at oa.mo.gov>:

We are having a problem with a repository and I have seen others reporting 
similar issues. What we see is the following on an hg clone done from the 
command line:

requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 43, in _runcatch
  File "mercurial\dispatch.pyc", line 449, in _dispatch
  File "mercurial\dispatch.pyc", line 317, in runcommand
  File "mercurial\dispatch.pyc", line 501, in _runcommand
  File "mercurial\dispatch.pyc", line 454, in checkargs
  File "mercurial\dispatch.pyc", line 448, in <lambda>
  File "mercurial\util.pyc", line 402, in check
  File "mercurial\commands.pyc", line 636, in clone
  File "mercurial\hg.pyc", line 286, in clone
  File "mercurial\localrepo.pyc", line 2177, in clone
  File "mercurial\localrepo.pyc", line 1466, in pull
  File "mercurial\localrepo.pyc", line 2067, in addchangegroup
  File "mercurial\revlog.pyc", line 1210, in addgroup
  File "mercurial\changegroup.pyc", line 30, in chunkiter
  File "mercurial\changegroup.pyc", line 20, in getchunk
  File "mercurial\util.pyc", line 932, in read
MemoryError
abort: out of memory

The version is:

Mercurial Distributed SCM (version 1.3.1)

Copyright (C) 2005-2009 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

TortoiseHG will just show the error for the transaction abort and no other 
messages. 

Is there any way to adjust the memory usage? Or is this a code bug?

----------
messages: 10729
nosy: daveb
priority: urgent
status: unread
title: hg clone out of memory errors

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1863>
____________________________________________________



More information about the Mercurial-devel mailing list