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

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Jun 12 02:27:46 EDT 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