macOS
brew install memraylocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für memray in AI-Agent-Workflows.
Installation
brew install memraylocal Homebrew formula metadata
sudo apk add memrayAlpine Linux edge package indexes · memray · Quelle: dl-cdn.alpinelinux.org
sudo dnf install memrayFedora Rawhide package metadata · memray · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#memraynixpkgs package indexes · pkgs/by-name/me/memray/package.nix · Quelle: api.github.com
sudo pacman -S memrayArch Linux sync databases · memray · Quelle: geo.mirror.pkgbuild.com
Überblick
Memory profiler for Python applications
Verlauf
Memray is a Bloomberg Python memory profiler that tracks allocations in Python code, native extension modules, and the Python interpreter, then renders reports such as flame graphs, terminal summaries, tables, trees, live views, and stats.
Memray's README and documentation present it as a profiler for allocation tracing rather than sampling alone. It records function call stacks for allocations, can include native C/C++ frames, works with Python threads and native threads, and can be used both as a CLI and as a Python library.
The package entered public Python packaging with a 1.0.0 release on PyPI in April 2022. Its release stream continued through the 1.x line, with GitHub release notes and PyPI metadata showing active maintenance into 2026.
Memray is distributed through Python packaging and system package managers. The upstream README links PyPI, PyPI download statistics, conda-forge, GitHub Actions for wheels, and documentation; the batch input lists apk, Homebrew, Fedora, Nix, and Arch packages. The README also points to `pytest-memray`, which brought Memray into test-suite workflows as well as ad hoc command-line profiling.
The common CLI workflow is `python3 -m memray run -o output.bin my_script.py`, followed by a reporter such as `python3 -m memray flamegraph output.bin`. Users can also run `memray run my_script.py`, use `memray run -m my_module`, enable native tracking with `--native`, attach to processes in supported scenarios, or use the API for finer-grained profiling.
Memray is limited to Linux and macOS. Because it includes a C extension and native tooling, source builds may require dependencies such as libdebuginfod, libunwind, and liblz4, while normal users are steered toward binary wheels from PyPI.
Memray is notable because Python memory profiling often crosses the Python/native boundary. Packaging it means shipping compiled extensions, platform-specific wheels, and native library integration while still exposing a friendly CLI. It is also a useful package-index signal because it bridges Python developers, C-extension debugging, flamegraph tooling, and pytest integration.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
memray | cli | globales Executable | |
memray3.14 | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://bloomberg.github.io/memray/
Installationsmetadaten
| Paketschlüssel | brew:memray |
|---|---|
| Version | 1.19.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/memray |
| Homepage | https://bloomberg.github.io/memray/ |
| Repository | https://github.com/bloomberg/memray |
| Upstream-Dokumentation | https://bloomberg.github.io/memray |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://files.pythonhosted.org/packages/96/04/5b886a36df947599e0f37cd46e6e44e565299815f044e2303ab2ae9f8870/memray-1.19.3.tar.gz |
| Zuletzt aktualisiert | 2026-06-22T14:05:27-07:00 |
| Pulse | updated |
| Abhängigkeiten | lz4, python@3.14 |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | memray |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
memray
nix profile install nixpkgs#memraymemray 1.19.1-r2
Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
sudo apk add memraymemray-pyc 1.19.1-r2
Precompiled Python bytecode for memray
https://bloomberg.github.io/memray/
sudo apk add memray-pycmemray 1.13.4-7.fc44
Memory profiler for Python applications
https://bloomberg.github.io/memray/
sudo dnf install memraymemray 1.19.3-1
A memory profiler for Python
https://github.com/bloomberg/memray
sudo pacman -S memrayQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.