This plugin does not work with the current version of Spyder. The last version of Spyder supported by the plugin is version 4.
The memory_profiler module that this plugin is based on, is also no longer maintained.
There are no plans to update this plugin. If you are interested in reviving the plugin, please contact the Spyder project leader.
The last version of the README file
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.
To install this plugin, you can use either pip
or conda
package
managers, as follows:
Using conda (the recommended way!):
conda install spyder-memory-profiler -c spyder-ide
Using pip:
pip install spyder-memory-profiler
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!
Spyder and its subprojects are funded thanks to the generous support of
and the donations we have received from our users around the world through Open Collective: