Tools for OutOfMemoryError java heap space analysis
I am getting an OutOfMemoryError: Java heap space Are there any tools I can use to find the root cause ? Add these JVM arguments, which would log the Garbage collection details to the log file. -Xloggc:gc_memory_logs.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps The logs would looks like this, 1.703: [GC [PSYoungGen: 132096K->16897K(153600K)] 132096K->16905K(503296K), 0.0171210 secs] [Times: user=0.05 sys=0.01, real=0.01 secs] 3.162: [GC [PSYoungGen: 148993K->21488K(153600K)] 149001K->22069K(503296K), 0.0203860 secs] [Times: user=0.04 sys=0.00, real=0.02 secs] 4.545: [GC [PSYoungGen: 153584K-