#16701: port upgrade installed memory not releasing (PPC) --------------------------------+------------------------------------------- Reporter: artrigue@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: base | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- with -d I don“t see anything particular going on, it just keeps running until suddenly it stops: {{{ DEBUG: epoch: in tree: 0 installed: 0 DEBUG: nspr 4.7_1 exists in the ports tree DEBUG: nspr 4.7_1 is installed DEBUG: No need to upgrade! nspr 4.7_1 >= nspr 4.7_1 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46 tclsh(6113,0xa000ed88) malloc: *** vm_allocate(size=475136) failed (error code=3) tclsh(6113,0xa000ed88) malloc: *** error: can't allocate region tclsh(6113,0xa000ed88) malloc: *** set a breakpoint in szone_error to debug unable to alloc 471346 bytes }}} The thing is, watching my memory usage, with istat widget, while it runs, it looks like no memory is being used at all until suddenly, it spikes. (this takes a while, I just check in every 15 minutes) Its not a slow rampup on the graph, it is flat until it spikes. Another thing, I just want to check because its big, look at that malloc. Does it request half a meg each port, just to verify port versions? {{{ sudo port selfupdate Password for admin: MacPorts base version 1.600 installed Downloaded MacPorts base version 1.600 The MacPorts installation is not outdated and so was not updated selfupdate done! }}} I tried tcl just at 8.5.4 and with the +memdebug +threads ... just hoping that might be the issue. -- Ticket URL: <http://trac.macports.org/ticket/16701> MacPorts <http://www.macports.org/> Ports system for Mac OS