memory usage of a specific function

Stephen Kellett snail at objmedia.demon.co.uk
Wed Jan 4 11:44:47 EST 2006


In message <1136382937.162468.253350 at g44g2000cwa.googlegroups.com>, 
Sverker Nilsson <sverker.is at home.se> writes
>> 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.

Python Memory Validator.

Run your program to completion.
Switch to the hotspots tab.
Search for your function.
All memory used in that function will be shown in the tree (with the 
effective callstack) underneath that function node in the tree.

http://www.softwareverify.com

Stephen
-- 
Stephen Kellett
Object Media Limited    http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting



More information about the Python-list mailing list