MemoryError in 2.2.0 in odd case: Can I reduce memory requirements?

Matthew D. Fuller fullermd at over-yonder.net
Wed Jan 12 16:01:13 UTC 2011


On Wed, Jan 12, 2011 at 09:52:44AM -0500 I heard the voice of
Doug Lee, and lo! it spake thus:
> 
> I'm trying to manage local changes for a team using Bazaar.  I share
> local commits through a common branch on our Internet server, which
> (sheepish grin) happens to run FreeBSD 4.11 - very old, but
> difficult to upgrade at this point.  The server runs Python 2.4 and
> uses the slow Python code in place of things like CElementTree, in
> case that matters (but for this issue, I doubt it does).

Well, you'd have to multi-step it to upgrade, but it's not impossible
in the general case.  You should (I think) be able to get as far as
py2.6 with the 4_EOL ports tree.


> I can't seem to extend the datasize limit past 512 meg even as root,
> so I assume this is set in stone for some reason.

This is an in-kernel limit; i386 uses 512 meg as a default data size
limit.  You can tune this with the MAXDSIZ option in the kernel
config.  Actually, I think it's a loader tunable in some later
versions, but I doubt for 4.  But if you've got the RAM, you can bump
it to a gig or so without worries.


> I believe if bzr hit a stacksize limit, it would get a SIGSEGV,
> which I'm not seeing.

Yes, it's almost certainly running out of heap space.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list