memory usage of a specific function

Sverker Nilsson sverker.is at home.se
Wed Jan 4 08:55:37 EST 2006


Hermann Maier wrote:
> hi,
>
> i need to find out the memory usage of a specific function that i use in
> my program. this function does some recursive calculations and i want my
> program to display the amount of memory the function used to calculate a
> specific value.
>
> thx

I was thinking that Heapy in Guppy-PE (http://guppy-pe.sourceforge.net)
could be of help, but I can not give any specific advice based on only
the information given.

Maybe you could be more specific about your requirements, and post
the actual function code or some other illustrating example.

Regards,

Sverker




More information about the Python-list mailing list