[issue3329] API for setting the memory allocator used by Python

Kristján Valur Jónsson report at bugs.python.org
Mon Mar 11 12:30:20 CET 2013


Kristján Valur Jónsson added the comment:

Absolutely.  Although there is a very useful scenario where this could be consided a run-time setting:

  # turboprofiler.py
  # Load up the memory hooker which will supply us with all the info
  import _turboprofiler
  _turboprofiler.hookup()

Perhaps people interested in memory optimizations and profiling could hook up at pycon?  It is the most common regular query I get from people in my organization:  How can I find out how python is using/leaking/wasting memory?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3329>
_______________________________________


More information about the Python-bugs-list mailing list