tclsh eats all available memory (port -d upgrade installed)

Rainer Müller raimue at macports.org
Thu Aug 21 09:12:49 PDT 2008


David Evans wrote:
> [...]
>> 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)
>>
>>   
> I've now installed tcl 8.5.4 from Macports and modified
> port to use it.  I then rerun
> sudo port -d upgrade installed
> 
> It ran right through to the end.  It still used up nearly all
> of the free memory though, even though it did not
> need to upgrade any ports.

Not sure why calculating outdated packages takes so much memory. Does
the same happen with 'port outdated'? Basically this should be the same
calculation.

I experience something like this, but only when port does (de)activate.

I was not able to track it down further, but tclsh often takes up to
350-400 MB of RAM for me. I don't know if it has something to do with
the number of ports installed, as I can't reproduce it with a clean
install. In this installation, I have >600 ports installed.

Rainer


More information about the macports-users mailing list