tclsh eats all available memory (port -d upgrade installed)
dave.evans55 at googlemail.com
Wed Aug 20 07:01:24 PDT 2008
I have 317 ports installed. None require upgrading.
Starting sudo port -d upgrade installed and monitoring
the memory usage with Activity Monitor, after a few seconds
tclsh RSIZE is up to 300 MB. After a couple of minutes
the RSIZE is up to 1.5GB and the free memory is down
to 8 MB. They stay at these values for another couple of minutes
when tclsh gives up with an out of memory error.
DEBUG: Found port in file:///opt/local/var/macports/sources/
tclsh(34820,0xa0592fa0) malloc: *** mmap(size=1884160) failed (error
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
unable to alloc 1882835 bytes
Does any one know why tclsh is using so much memory? The only
message in this mailing list referring to the problem was a couple of
months ago. See http://tinyurl.com/5vn3qu and
(on another mailing list) http://tinyurl.com/6s7sxh
My configuration: 2GB memory, OSX 10.5.4, Xcode 3.1,
500 GB of free disk space (so swap space cannot be a problem)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users