Discussion:
[Bitpim-devel] Weird CVS problem running out of memory: realloc 2684354560 AKA 0xa0000000
Peter Dufault
2004-09-22 04:01:22 UTC
Permalink
(This is Mac OS X 10.3.5)

This is mostly a "for the record google-search" posting to help someone
else figure out what's up in the future. If someone can tell me what's
up, that's great, both now and then.

I've been busy and "cvs update"ing bitpim from sourceforge less than
once per day, but always at least once per week. For the last four
days when I tried off-and-on to "cvs update", the cvs process finally
died when it failed to realloc 0xa0000000 bytes (for google: it
actually said "*** malloc: vm_allocate(size=2684354560) failed (error
code=3)" and after that reallocate complained).

I don't know what's up. I use cvs constantly, almost always via pserver
over a network, and haven't seen this problem before. I searched via
google and saw someone else having the same problem updating "fink
commander" (also a Mac thing) from sourceforge but I didn't see a
resolution.

This morning "cvs update" worked fine, and I'm up-to-date with bitpim.
I've gotten up to date a few more times without any problem. No
software changes on my end.

I want to know why my local cvs client wound its memory allocation up
until it tried to realloc 0xa0000000 bytes due to its interaction with
the remote server, yet now it has recovered and works OK.

Maybe this is some combination of cvs loading at sourceforge, a bug in
CVS, and the default OS X usage limits.

Peter

Peter Dufault
HD Associates, Inc.
Roger Binns
2004-09-22 04:50:35 UTC
Permalink
Post by Peter Dufault
I've been busy and "cvs update"ing bitpim from sourceforge less than
once per day, but always at least once per week. For the last four
days when I tried off-and-on to "cvs update", the cvs process finally
died when it failed to realloc 0xa0000000 bytes (for google: it
actually said "*** malloc: vm_allocate(size=2684354560) failed (error
code=3)" and after that reallocate complained).
According to the most recent SF newsletter, they will be using the
donation from the eBay founder for improving CVS and the statistics.

If it gets too bad, I can make a nightly cron job that tars up the
latest code and puts it on the web server.

Roger

Loading...