// readme

hprof-analyzer

Heap dump analyzer for JVM applications. Generates MAT-parity reports (leak suspects, retained-size breakdown, OQL queries) with peak RSS well below the dump size for dumps โ‰ฅ 1 GiB. One binary covers the full workflow: automated reports, interactive analysis, AI-assisted triage via MCP, heap redaction, and Eclipse MAT cache generation. For dumps up to 3 GB there is also a browser version that runs entirely in WebAssembly.

By the SapMachine team.

Capabilities at a glance

CapabilityHow to use
Analysis reports (System Overview, Leak Suspects, Top Consumers, Threads)hprof-analyzer heap.hprof report.html
OQL queries (SQL-flavoured, MAT-compatible, with extensions)hprof-analyzer query heap.hprof --query "..."
Cached interactive analysis (histogram, dominator tree, inspect objects)hprof-analyzer heap summary heap.hprof
MCP server (AI-assisted triage in Claude, Cline, and other agents)hprof-analyzer mcp
**[HTTPโ€ฆ