best way to discover this process's current memory usage, cross-platform?
Serge.Orlov at gmail.com
Thu Nov 17 09:44:39 CET 2005
Jack Diederich wrote:
> Electric Fence uses the LD_PRELOAD method. I've successfully used it to
> track down leaks in a python C extension. If you look at the setup.py in
> probstat you'll see
> #libraries = ["efence"] # uncomment to use ElectricFence
> which is a holdover from developing.
I've also successfully used Electric Fence many years ago to track down
leaks in a C/Linux program. Since that time Electric Fence has been
forked into DUMA project http://duma.sourceforge.net/ and was ported to
windows, perhaps it has become cross-platform? I've never tried it on
anything besides Linux.
More information about the Python-list