pythonprofilers/memory_profiler
Monitor Memory usage of Python code observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5437
- days_rel: n/a
- days_push: 856
- n_releases_24m: 0
Adoption not part of the score
4575 stars · 385 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A pure Python module for monitoring memory consumption of a process, including line-by-line analysis of memory usage in Python programs. It includes the mprof tool for running executables and plotting full memory usage reports over time.
Use cases
- profile memory usage of python code line by line
- find which lines of my python function allocate the most memory
- plot memory usage of a python executable over time
- debug memory leaks in a python script
- monitor memory consumption of a python process
When to choose
- you need line-by-line memory attribution for Python functions
- you want a simple pip-installable profiler with plotting via mprof
- you are debugging memory growth or leaks in Python code
When to avoid
- you need actively maintained tooling - the project is no longer actively maintained
- you need CPU or wall-time profiling rather than memory
- you need profiling for non-Python code
Facets
library · maturity maintenance
monitoring benchmarking developer-tools developer-tools performance python cli cross-platform memory-profiling profiler psutil line-by-line-analysis mprof python
3 sources
- readme: https://github.com/pythonprofilers/memory_profiler · fetched 2026-08-28 · 834387d8fa18
- homepage: http://pypi.python.org/pypi/memory_profiler · fetched 2026-08-29 · 0f682df04b6c
- registry_pypi: https://pypi.org/pypi/memory_profiler/json · fetched 2026-08-29 · 942929b225e1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pythonprofilers/memory_profiler | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="pythonprofilers/memory_profiler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem