profiling memory usage
MrJean1 at gmail.com
Fri Oct 6 16:06:21 CEST 2006
The latest Python release 2.5 includes improvements to the memory
manager and *may* work better for you, it all depends on the root cause
of the problem. For more details, see the 5th bullet on this page
> I am looking for a method to profile memory usage in my python program.
> The program provides web service and therefore is intended to run for a
> long time. However, the memory usage tends to increase all the time,
> until in a day or two the system cannot handle it any more and starts
> to do constant swapping. Is there a way to look at which objects or
> variables are taking the huge amount of memory space?
More information about the Python-list