Jesús Cea Avión <j...@jcea.es> added the comment:

>> - Interactive interpreter invocation: 517 blocks, 95128 bytes.
>
> Note that http://bugs.python.org/issue13390 also proposes to count
> allocations in the interpreter.

The thing is, I get this data WITHOUT touching python interpreter, using a 
DTrace script, and when I am done and I kill the script, any malloc/free 
overhead will disappear. And the program keeps running...

Notice too, that the data I am showing is the extra memory I am using for the 
dtrace stack helper, not all python memory (if you check the dtrace script, I 
only contabilize "PyMem_Malloc()" when called from "PyCode_New()").

DTrace allows me to be quirurgic.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13405>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to