troubleshooting
5 tutorials tagged “troubleshooting”.
- Heap Dumps and Thread DumpsA heap dump captures every object; a thread dump shows what every thread is doing. Learn to take and read both to find leaks, hangs and deadlocks.
- JVM Monitoring and Troubleshooting ToolsThe JDK's built-in tools for watching and diagnosing JVMs: jps, jcmd, jstat, jmap, jstack, jinfo, JConsole, VisualVM and Java Flight Recorder, with real output.
- Memory Leaks in JavaA Java memory leak is an object the program no longer needs but still references. Learn the causes, then find and fix a real leak with histograms and dumps.
- OutOfMemoryError Types and CausesEach OutOfMemoryError message names the memory area that ran out. Learn the heap, Metaspace, direct buffer and thread variants and how to fix each.
- Reading GC Logs in JavaTurn on GC logging with -Xlog:gc and read each line: the GC type, cause, heap before and after, and pause time. Learn the detailed gc* log and what to look for.