Comment 1 for bug 814230

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 814230] [NEW] SVN branch out of memory

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/21/2011 8:41 PM, niels wrote:
> Public bug reported:
>
> I try to checkout a great svn -repository with ca 97000 Revisions. I was
> able to branch the first 50000 Revisions, but I have no chance to pull
> the rest. I run it with -Dmem_dump and get
>
> bzr: out of memory
> Memory dumped to c:\users\niels\appdata\local\temp\bzr_memdumpvsa5ak.json
> Traceback (most recent call last):
> File "bzr", line 143, in <module>
> File "bzrlib\library_state.pyo", line 100, in __exit__
> File "bzrlib\lazy_import.pyo", line 118, in __setattr__
> File "bzrlib\lazy_import.pyo", line 91, in _replace
> bzrlib.errors.IllegalUseOfScopeReplacer: ScopeReplacer object 'ui' was used incorrectly: Object tried to replace itself,
> check it's not using its own scope.
>
> The file has only a size of 2.035.420.925 Bytes. Running on a system
> with 8GB I think there should be more memory available.

Mem-dump dumps a description of memory. It doesn't dump the raw bytes of
each object. So it is possible that you are referencing more than just
2GB in the raw content.

I'm guessing this is more bzr-svn, which I think Jelmer has a couple
fixes for.

 affects bzr-svn

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4oeS4ACgkQJdeBCYSNAAN4RwCgrrLJ5iFKz6zp0YePZvatgmBS
i9AAoKFEYikj6zyP480tnpWQrSbUfMv0
=xBCF
-----END PGP SIGNATURE-----