Debugging Tools

These tools read the three artifacts an incident usually produces. A thread dump answers "why is it stuck or slow right now": the analyzer names deadlock cycles, counts states, groups pools and ranks lock contention. A heap dump answers "what is filling memory": the analyzer streams an .hprof of any size into a class histogram, the biggest objects, and the bytes wasted on duplicate arrays. A V8 heap snapshot answers the same question for Node and the browser, plus the detached DOM nodes behind most front-end leaks.

11 free tools · no sign-up · no ads

All Debugging (11)

Which tool do I need?

  • Find out why a Java service hangs

    Paste a jstack or jcmd Thread.print dump and read the verdict: deadlock cycles, blocked threads and the monitors they queue on.

    Java Thread Dump Analyzer

  • Triage an OutOfMemoryError

    Drop the .hprof that HeapDumpOnOutOfMemoryError wrote and read the class histogram and biggest objects; multi-GB files stream with progress.

    Java Heap Dump Analyzer

  • Hunt a Node or browser memory leak

    Drop a .heapsnapshot and compare constructor counts between two captures; detached DOM nodes are counted up front.

    Heap Snapshot Analyzer

  • Price redundant data in memory

    Both heap tools report bytes spent on repeat content: identical primitive arrays in Java, duplicate strings in V8.

    Java Heap Dump AnalyzerHeap Snapshot Analyzer

About Debugging

All three parse in the browser tab. That matters more here than for most tools: dumps and snapshots carry every live string in the process, which can include credentials and customer data, and often may not leave the machine they were copied to. Each page says what its figures are (shallow sizes, cumulative CPU) and what it does not compute (retained sizes, dominator trees), and points at Eclipse MAT or Chrome DevTools for the questions that need the full graph.

Guides

Frequently asked questions

Do these analyzers upload the dump anywhere?

No. All parsing is JavaScript in your tab; the pages make no network call with your data. That is the point: dumps contain live application memory, so the safe place to read them is the machine they are already on.

Which dump should I capture for a memory problem?

For a JVM, a heap dump (jcmd <pid> GC.heap_dump) shows what fills memory; take a thread dump too if the process is also slow, since the two together cost seconds. For Node or a browser page, take two heap snapshots a few minutes apart and compare.

Can a browser really analyze a 4 GB heap dump?

Yes, because the HPROF analyzer never loads the file: it reads 8 MiB slices and keeps only running totals per class. Snapshot files are JSON and are read whole, so the practical ceiling there is lower, around a gigabyte.

When do I still need Eclipse MAT or Chrome DevTools?

When the question is ownership: retained sizes, dominator trees and paths to GC roots need the full object graph. These pages answer the first questions, what is big, duplicated or deadlocked, and tell you which heavyweight question is left.