Since mid November/2017, [Anaconda, Inc](https://www.anaconda.com/) has stopped funding Spyder development, after doing it for the past 18 months. Because of that, development will focus from now on maintaining Spyder 3 at a much slower pace than before.
If you want to contribute to maintain Spyder, please consider donating at
https://opencollective.com/spyder
We appreciate all the help you can provide us and can't thank you enough for supporting the work of Spyder devs and Spyder development.
If you want to know more about this, please read this [page](https://github.com/spyder-ide/spyder/wiki/Anaconda-stopped-funding-Spyder).
This is a plugin to run the python memory_profiler from within the python IDE spyder.
The code is an adaptation of the profiler plugin integrated in spyder.
The memory-profiler plugin is available in the spyder-ide
channel in
Anaconda and in PyPI, so it can be installed with the following
commands:
- Using Anaconda:
conda install -c spyder-ide spyder-memory-profiler
- Using pip:
pip install spyder-memory-profiler
All dependencies will be automatically installed. You have to restart Spyder before you can use the plugin.
Add a @profile
decorator to the functions that you wish to profile then Ctrl+Shift+F10 to run the profiler on the current script, or go to Run > Profile memory line by line
.
The results will be shown in a dockwidget, grouped by function. Lines with a stronger color have the largest increments in memory usage (memory profiler).
Everyone is welcome to contribute!
Support us with a monthly donation and help us continue our activities.
Become a sponsor to get your logo on our README on Github.