You can pass 600+ arguments to JVM just around Garbage collection and memory. It’s way too many arguments for anyone to digest and comprehend. In all these 4 videos, 7 important JVM arguments that will boost your Java/Scala/Jython application performances are shared.Continue reading “Video Blog: 7 JVM Arguments of Highly effective applications”
What happens behind the scene when a java program is executed? In which regions objects are created? When objects become eligible for garbage collection? Where are threads stored? What is the difference between Stack and Heap? Watch this video to know more.Continue reading “How Java program executed? – Heap, threads, stack, GC”
Java applications tend to contain hundreds (sometimes thousands) of threads. The majority of these threads are in WAITING, TIMED_WAITING (i.e., dormant) state, while only a small portion of the threads are actively executing lines of code. So, we were curious to know whether dormant threads consume less memory than active threads.
To figure out an answer to this question, we conducted a small study. Our findings were interesting, thus sharing with you.Continue reading “Java threads – may not be memory efficient?”
One of the widely wasted resources in the world today is: Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is wasting. This application has been designed by the community to show how the spring application framework can be used to build simple but powerful database-oriented applications.Continue reading “MEMORY WASTED BY SPRING BOOT APPLICATION”
There are 8 flavors of java.lang.OutOfMemoryError. In these 8 flavors
java.lang.OutOfMemoryError: unable to create new native thread
is one of the commonly occurring flavor. This type ofContinue reading “TROUBLESHOOT OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD”