analyze
Detect memory leaks, fragmentation, excessive allocations, and anti-patterns in .NET snapshots. Returns findings with severity and code suggestions.
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 |