Re: Python memory leak

Christopher Barber (cbarber@bbn.com)
20 Jan 1995 21:10:23 GMT

"UH" == Uli Herold <uh@uhix.cube.net>

[Deleted program which looked at values returned by system('ps -l')]

UH> There seems to be a "magic border" around 4 MB. Will this be fixed
UH> in 1.2 ??

There is nothing actually wrong with these numbers, you seem to be
disturbed by the fact that the page size of a process does not immediately
shrink to its original size after memory is freed. I won't go into details
about process page allocation, but suffice it to say that there is no fixed
relationship between the number of pages used by a process and the amount
of memory it allocates, so your example does not provide any evidence
whatsoever that memory was not freed. A better account of memory usage
would be provided by a tool such as Purify....

- Chris

--
Christopher Barber        cbarber@bbn.com        http://guava.bbn.com/~cbarber