sharphy_inspect_heap
Inspect managed heap allocations, generation sizes, fragmentation, and object leak retainers in a .NET memory dump to diagnose high memory usage, memory leaks, or OutOfMemoryException.
Instructions
Inspects managed heap allocations, generation sizes (Gen 0/1/2, LOH, POH), fragmentation, and object leak retainers in a memory dump. Use this tool when diagnosing high memory usage, memory leaks, or OutOfMemoryException. Do NOT use for general crash RCA (use 'sharphy_analyze_dump') or thread lock cycles (use 'sharphy_deadlock_detector'). Non-destructive, read-only inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dumpPath | Yes | Absolute path to the target memory dump file (.dmp) | |
| topObjects | No | Top N object types ranked by total memory size |