best way to discover this process's current memory usage, cross-platform?

sjdevnull at yahoo.com sjdevnull at yahoo.com
Thu Nov 17 01:24:19 EST 2005


Alex Martelli wrote:
>
> Considering that the main purpose is adding regression tests to confirm
> that a hopefully-fixed memory leak does not recur, I'm not sure why
> shared memory should be a problem.  What scenarios would "leak shared
> memory"?

Apache leaks SHM segments in some scenarios.  SysV SHM segments aren't
freed explicitly when the process exits.  They're easy enough to clean
up by hand, but it's nicer to avoid that.




More information about the Python-list mailing list