When we launch applications, we specify the initial memory size and maximum memory size. For the applications that run on JVM (Java Virtual Machine), initial and maximum memory size is specified through ‘-Xms’ and ‘-Xmx’ arguments. If Java applications are running on containers, it’s specified through ‘-XX: InitialRAMPercentage’ and ‘-XX: MaxRAMPercentage’ arguments. Most enterprises set the initial memory size to a lower value than the maximum memory size. As opposed to this commonly accepted practice, setting the initial memory size the same as the maximum memory size has certain ‘cool’ advantages. Let’s discuss them in this post.
Continue reading “Benefits of setting initial and maximum memory size to the same value”16 artifacts to capture when there is a production problem -Montreal 2022
ConFoo Montreal is a multi-technology conference for developers. Our Architect Ram Lakshmanan has been invited there to present on the topic “16 artifacts to capture when there is a production problem“, which has secured 5th place among 155 sessions.
Continue reading “16 artifacts to capture when there is a production problem -Montreal 2022”Major Outages in Major Enterprises
JAX – Online conference is the meeting place for all Java and software architecture enthusiasts! This year also, they have conducted an online conference to exchange knowledge and ideas from speakers all over the world.
Continue reading “Major Outages in Major Enterprises”JVM Internals in 1 slide
JAX – Online conference is the meeting place for all the Java and software architecture enthusiasts! This year also, they have conducted the online conference to exchange the knowledge and ideas from the speakers all over the world.
Continue reading “JVM Internals in 1 slide”Video Blog: 7 JVM Arguments of Highly effective applications
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 is GC Log, thread dump and Heapdump?
Java Virtual Machine (JVM) generates 3 critical artifacts that are useful for optimizing the performance and troubleshooting production problems. Those artifacts are:
Continue reading “What is GC Log, thread dump and Heapdump?”Health Check Status Page
Debug/Diagnostic information about the application and JVM instance is published in the health check status page. In the health check status page, the following information is printed in the JSON format:
Continue reading “Health Check Status Page”MEMORY WASTED BY SPRING BOOT APPLICATION
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”