compare_snapshots
Take two memory snapshots of a .NET process with a configurable delay to compare before and after states. Detect memory leaks by identifying objects that persist between snapshots.
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 either a pid, processName, or command to profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Process ID to snapshot | |
| command | No | Command to launch and snapshot | |
| processName | No | Process name to snapshot | |
| delaySeconds | No | Seconds to wait between before and after snapshots (default: 10) |