compare_snapshots
Detect .NET memory leaks by capturing two snapshots of a process with a configurable delay, then compare before/after state to identify growth.
Instructions
Takes two memory snapshots of a .NET process with a delay between them for comparison. Useful for detecting memory leaks by comparing before/after state. Provide a pid. Returns the ids and paths of both snapshots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Process ID to snapshot | |
| command | No | Not implemented; a process id is required | |
| processName | No | Process name, used only to apply the profiling exclusion list | |
| delaySeconds | No | Seconds to wait between before and after snapshots (default: 10) |