Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

profiling memory usage

152 views
Skip to first unread message

Eddie

unread,
Oct 5, 2006, 7:21:50 PM10/5/06
to
Hi,

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?

Thanks,

Eddie

hanumizzle

unread,
Oct 6, 2006, 2:29:52 AM10/6/06
to Eddie, pytho...@python.org

Have a look at:
http://www.velocityreviews.com/forums/t353289-memory-profiler.html

--
Remember that time Thotsakan punched Neil Bush in the dick?

MrJean1

unread,
Oct 6, 2006, 10:06:21 AM10/6/06
to
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
<http://docs.python.org/whatsnew/ports.html>.

/Jean Brouwers

NOSHII

unread,
Oct 6, 2006, 11:25:03 AM10/6/06
to
0 new messages