qmetrics.net

Memory Profiler

Python process and line-by-line memory profiling

Monitoring & ObservabilityNo longer maintainedDesktop/CLI app

Memory Profiler is no longer maintained. The project says: “Note: This package is no longer actively maintained.” source Look at the maintained alternatives below before choosing it.

Memory Profiler screenshot

A pure Python module and mprof CLI that report per-line and time-based memory use for Python programs, built on psutil.

Overview

Memory Profiler monitors memory consumption of a Python process and can break usage down line by line within functions. It installs via pip or conda-forge and depends on the psutil module for process metrics. The package is no longer actively maintained.

Line-by-line mode decorates functions with @profile and runs the script with python -m memory_profiler, printing memory after each executed line. A decorator import from memory_profiler.profile works without the -m flag, with optional precision control unless overridden by the module runner.

The mprof utility records memory over time for arbitrary executables or Python scripts, stores timestamped profiles, and plots them with matplotlib, including optional flame-style views when function entry and exit are tracked. It supports multiprocess and forked child reporting via flags such as --include-children and --multiprocess.

A programmatic memory_usage API samples RSS for a PID or while running a callable. IPython integrations provide %mprun, %%mprun, %memit, and %%memit magics when the extension is loaded. Multiple memory tracking backends include psutil, posix, and tracemalloc variants.

Key features

  • Line-by-line memory usage reports
  • @profile decorator and -m runner
  • mprof time-series capture and plots
  • Multiprocess child memory tracking
  • memory_usage programmatic API
  • IPython %mprun and %memit magics
  • Log and logger redirect options
  • Selectable memory backends

Use cases

  • Finding which lines allocate memory
  • Plotting memory over a run
  • Checking multiprocessing memory use
  • Notebook peak memory estimates
  • Detecting gradual memory growth

Similar software

Uptime Kuma

Self-hosted uptime monitoring with status pages and alerts

Uptime Kuma is a self-hosted monitoring tool for checking whether services stay online. It covers many probe types and can notify you through numerous messaging and email channels.

★ 95k⟳ yesterdayMIT
Open Source Alternative to:Pingdom

World Monitor

Real-time global intelligence dashboard for news and geopolitics

World Monitor combines live news, market data, and geopolitical signals on interactive world maps. Available on the web, as desktop builds, a terminal UI, CLI, SDKs, and an MCP server.

★ 91.3k⟳ todayAGPL-3.0
Open Source Alternative to:Liveuamap

Netdata

Per-second full-stack infrastructure observability platform

Netdata collects metrics, logs, and traces where they are generated, with per-second resolution, built-in dashboards, alerts, and machine learning anomaly detection on every metric.

★ 81.7k⟳ todayGPL-3.0
Open Source Alternative to:Application InsightsBetterStack+8

Grafana

Composable observability and data visualization platform

Grafana queries, visualizes, and alerts on metrics, logs, and traces from many backends. Teams build and share dashboards to explore operational data.

★ 78.2k⟳ todayAGPL-3.0
Open Source Alternative to:BetterStackNew Relic

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

Sentry

Developer error tracking and performance monitoring

Sentry is a debugging platform for detecting, tracing, and fixing application issues. SDKs connect code to error, performance, replay, and related signals in one workflow.

★ 45.9k⟳ todaySource-available