Kristján Valur Jónsson added the comment:

Also, our ccpmem.h, the interface to the ccpmem.cpp, internal flexible memory 
allocator framework.
Again, just FYI.  There are no trade secrets here, so please ask me for more 
details, if interested.  One particular trick we have been using, which might 
be of interest, is to be able to tag each allocation with a "context" id.  This 
is then set according to a global sys.memcontext variable, which the program 
will modify according to what it is doing.  This can then be used to track 
memory usage by different parts of the program.

----------
Added file: http://bugs.python.org/file30452/ccpmem.h

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

Reply via email to