# Memory leak hunting (/debugging--memory-leak)

/debugging--memory-leak is a Claude Code skill in the Code section. Analyzes your code for memory leak patterns by language (JavaScript, Python, Go and more) and suggests how to fix them.

- Web version: https://skills.sgomez.dev/en/s/debugging--memory-leak
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/debugging/memory-leak.md
- Updated 30 Mar 2026

## How to ask for it

- `/debugging--memory-leak my Node app keeps using more memory every hour`
- `/debugging--memory-leak find the memory leak in this service`
- `/debugging--memory-leak figure out why this memory never gets released`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install debugging-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: `node --inspect`, `node --expose-gc`, `python -m tracemalloc`, `valgrind`, `go tool pprof`, `top`, `ps aux`
- Network: No
- Destructive: No

## Author's description

Hunt down memory leaks by analyzing allocation patterns and retention paths

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
