[SciPy-user] Debugging memory exhaustion in Python?

Matthieu Brucher matthieu.brucher@gmail....
Fri Jun 15 01:06:38 CDT 2007

Are you using a specific IDE ?


2007/6/15, Greg Novak <novak@ucolick.org>:
> I've written Python code to calculate a bunch of things for a bunch of
> simulations.  The code goes through about 5GB in 10-100MB chunks.  The
> problem is that Python eventually runs out of memory, consuming
> (according to top) 3GB.  I don't see why it should be doing this--as
> far as I know I'm not hanging on to any references of anything.
> I've fooled around with the garbage collector, turning debugging
> information on and trying to  see if it will give me useful info about
> who or what is still hanging around in memory.
> I've tried to delete all the user variables but even after this the
> garbage collector can't free any more memory.
> What I need is du for python memory, just to get a sense of how/why
> this is happening.  Anyone have suggestions about how to get traction
> on this?
> Thanks,
> Greg
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070615/9a1a5d5f/attachment.html 

More information about the SciPy-user mailing list