memory error on trying to checkout large subversion repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Triaged
|
Low
|
Unassigned |
Bug Description
I am trying to check out a subversion repository with about 870 revisions. One of them sports a large 400MB ISO file which has been deleted afterwards (cause it does not really belong into subversion anyway). The error may or may not be related to that large file.
I get this MemoryError:
ms@mango> bzr checkout svn+https:/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
accelerator
File "/usr/lib/
return self._create_
File "/usr/lib/
checkout_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
run_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
self.
File "/usr/lib/
reporter.
File "/usr/lib/
return unbound(*args, **kwargs)
File "/usr/lib/
self._baton, pool)
File "/var/lib/
return apply(_
File "/usr/lib/
lines = osutils.
MemoryError
bzr 1.3 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'svn+https:/
encoding: 'ISO-8859-15', fsenc: 'ISO-8859-15', lang: 'de_DE@euro'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
rebase /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
This is the memory situation after the error has happened:
ms@mango> free -m
total used free shared buffers cached
Mem: 1009 431 578 0 0 142
-/+ buffers/cache: 288 720
Swap: 1906 449 1456
mango:~# apt-show-versions | egrep "(bzr|subversion)"
bzr-rebase/unknown uptodate 0.3-1
bzr/etch uptodate 1.3-1~bpo40+1
bzr-svn/unknown uptodate 0.4.9-1
subversion/etch uptodate 1.4.2dfsg1-2
subversion-
python-
bzrtools/unknown uptodate 1.3.0-2
Version "unknown" are packages from lenny, bzr itself is the latest backport from backports.org.
I can try this on my notebook with bzr 1.4, python 2.5 as soon as I have a compatible bzr-svn in sid or experimental.
Changed in bzr-svn: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in bzr-svn: | |
milestone: | none → 0.4.12 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
status triaged
importance low
This is a known issue - there is not really an easy way to fix this
because the delta received from Subversion is not translatable to the
delta Bazaar uses internally. This requires us to create a completely
snapshot and feed that to Bazaar. So a file may be held in memory two
or three times at the same moment.
Cheers,
Jelmer enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iQCVAwUBSCtCNgy 0JeEGD2blAQJsYA P/TK/yxtr1DGRad 2Spd4hsfhMEzNo4 FK4H oAilnHgntsD1tW9 GNfVjSH6oz+ 8SUeBDUWy8Bz02j Sp08J9AQOv ZNFEYV8BX2ihr+ Ax10cUzYubbYSAy POroaMML1CpVCGv zFSwf
Fj6awvaR7fEU+
8zP9CMBKhCQRyFf
8JnPiVS3bH4=
=Mo27
-----END PGP SIGNATURE-----