Trace Python memory allocation hotspots before leaks and spikes reach production with Memray

Lets an agent record Python allocation traces and inspect the biggest allocators, retained objects, and leak paths before memory growth turns into a production incident.

Trace Python memory allocation hotspots before leaks and spikes reach production with Memray

Lets an agent record Python allocation traces and inspect the biggest allocators, retained objects, and leak paths before memory growth turns into a production incident.

Installation

Method 1, Agent Skill Exchange

Method 2, Git clone

git clone https://github.com/agentskillexchange/skills.git && cd skills/skills/trace-python-memory-allocation-hotspots-before-leaks-and-spikes-reach-production-with-memray

Method 3, Download ZIP

  • Download the repository ZIP and extract skills/trace-python-memory-allocation-hotspots-before-leaks-and-spikes-reach-production-with-memray.

Method 4, Manual copy

  • Copy this skill folder into your local skills directory, then reload your agent tooling.

Method 5, Fork and sync

  • Fork the repository if you want to maintain local edits while syncing upstream changes.

Source