analyze
Identify memory leaks, fragmentation, and excessive allocations from .NET memory snapshots. Receive severity-based findings with actionable code suggestions to fix anti-patterns.
Instructions
Analyzes a memory snapshot using built-in rules to detect leaks, fragmentation, excessive allocations, and anti-patterns. Returns findings with severity, description, and optional code suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| afterPath | No | Path to 'after' snapshot for comparison | |
| beforePath | No | Path to 'before' snapshot for comparison | |
| snapshotId | Yes | Snapshot ID or path to analyze | |
| snapshotPath | No | Path to snapshot file | |
| workingDirectory | No | Working directory for resolving relative paths |