Which PyPy memory profiler is recommended?

What tools can I use to monitor PyPys memory usage? It is better if the tool is ported for different Python interpreters (CPython and PyPy) and versions (from 2.6 to 3.3).

+7
memory-management profiler pypy
source share
1 answer

I only know about one profiler that is provided by the python community itself, the memory profiler .

You can download it using either pip or easy_install,

$ easy_install -U memory_profiler # pip install -U memory_profiler 

psutil is recommended to use the module with this profiler.

If you want to install it from the source,

 $ python setup.py install 

The latest sources can be found at https://github.com/fabianp/memory_profiler .

Documentation, samples, API help can be found at https://pypi.python.org/pypi/memory_profiler .

+1
source share

All Articles