[SciPy-dev] Reliable way to know memory consumption of functions/scripts/etc..

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Jun 12 01:27:46 CDT 2007


Hi,

I was wondering whether there was a simple and reliable way to know how 
much memory a python script takes between some code boundaries. I don't 
need a really precise thing, but more something like how does a given 
code scale given its input: does it take the same amount, several times 
the same amount, etc... Is this possible in python ?

cheers,

David


More information about the Scipy-dev mailing list