In one of my previous post I elaborated basics of JVM memory and also explained how garbage collection works. In this post we will try to understand various types of GC and how to tune and optimize them with a real world example. GC Taxonomy 1. Minor GC When garbage is collected from Young space it is called Minor GC. …
Read MoreEveryone of us as Software Engineers would have experienced memory leaks, OOM errors in our Java/JVM applications? In order to dissect such issues it is extremely important to understand the whats' and hows' of JVM memory and its management. JVM - Memory Management One of the many strengths of the JVM is that it …
Read MoreRecently I was required to identify a memory leak in one of the enterprise application running in production. Fortunately we were able to haveheap dumpsfrom the production environment. After analyzing few heap dumps I was able to trace a uniform pattern; which I felt might be one of the potential root causes for the …
Read More