macOS
brew install memraylocal Homebrew formula metadata
brew
memray のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install memraylocal Homebrew formula metadata
sudo apk add memrayAlpine Linux edge package indexes · memray · ソース: dl-cdn.alpinelinux.org
sudo dnf install memrayFedora Rawhide package metadata · memray · ソース: dl.fedoraproject.org
nix profile install nixpkgs#memraynixpkgs package indexes · pkgs/by-name/me/memray/package.nix · ソース: api.github.com
sudo pacman -S memrayArch Linux sync databases · memray · ソース: geo.mirror.pkgbuild.com
概要
Memory profiler for Python applications
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
memray | cli | グローバル実行可能ファイル | |
memray3.14 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://bloomberg.github.io/memray/
インストールメタデータ
| パッケージキー | brew:memray |
|---|---|
| バージョン | 1.19.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/memray |
| ホームページ | https://bloomberg.github.io/memray/ |
| リポジトリ | https://github.com/bloomberg/memray |
| 上流ドキュメント | https://bloomberg.github.io/memray |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://files.pythonhosted.org/packages/96/04/5b886a36df947599e0f37cd46e6e44e565299815f044e2303ab2ae9f8870/memray-1.19.3.tar.gz |
| 最終更新 | 2026-06-22T14:05:27-07:00 |
| Pulse | updated |
| 依存関係 | lz4, python@3.14 |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 memrayソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.