compare_snapshots
Compare two .NET memory snapshots taken seconds apart to detect memory leaks. Provide a process ID to receive snapshot IDs and paths for before/after analysis.
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) |