Search

GC easy – Universal Java GC Log Analyser

Category

Educational – Best Practises

Advantages of setting -Xms and -Xmx to same value

The content has been relocated. For insights on the benefits of configuring -Xms and -Xmx to the same value, please consult the linked article.

AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING

The article outlines a three-step automated approach to troubleshoot OutOfMemoryError in applications. First, it suggests capturing heap dumps using specific JVM arguments to gather memory data. Next, it recommends restarting the application via a custom script to prevent instability. Lastly, it discusses analyzing heap dumps with tools or an API for effective diagnosis.

HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?

The article addresses sudden CPU spikes in Java applications, often caused by repeated Full Garbage Collections (GC) due to memory leaks and infinitely looping threads. It provides troubleshooting strategies using tools like gceasy.io for analyzing GC logs and fastthread.io for identifying looping threads, along with real-world examples demonstrating effective resolutions.

 How to Capture a Java Heap Dump? (JMAP & OOM Error)

Heap dump is a snapshot of the Java memory. It contains information about the Java objects and classes in the heap at the moment the snapshot is triggered. It’s vital artifact to diagnose any Java memory related problems.

‘HARD’ PROBLEMS

I can solve any JVM related problem within 2 business days. (I have solved most of the problems in matter of minutes/hours, which was taking several days/weeks/months to get resolved by your regular Vendors).

Up ↑