The Trip to Heaven!
GC easy – Universal Java GC Log Analyser
by GCeasy Team
1M ago
Hi Friends, We are back with a new Story . Hope you will enjoy reading it. In this Pandemic, we had all been working remotely for the past few years where all the official interactions were happening virtually.  In order to facilitate in person interactions and to take a break from the daily routine, we decided to go on an office trip .  As a part of our 2022 annual retreat, this time we decided to make a trip to “Yercaud”. “Yercaud” is a hill station located in Salem District of Tamil Nadu which is known for coffee, fruits and spice plantations. It was a 5 day trip. Fig 1: “Without ..read more
Visit website
Oracle Architect optimizes performance using GCeasy
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
2M ago
Prabhakar Jonnalagadda is the performance architect in Oracle. He was presented with a performance problem of an application which had following symptoms: + Frequent unavailability of the application (crash issues) + Significant degraded performance in repeated spells In this post he talks about how he solved this application’s performance problems. He basically analyzes the GC log using GCeasy to understand the GC behavior. He then tweaks JVM arguments such as ‘-XX:ConcGCThreads’, ‘-XX:G1ReservePercent’, ‘-XX:InitiatingHeapOccupancyPercent’, ‘-XX:G1HeapRegionSize’, ‘-XX:G1HeapWastePercent ..read more
Visit website
This Is Garbage Talk. Don’t Attend! – ADDO Conference 2022
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
3M ago
ADDO conference is one of the largest online communities of DevOps professionals in the world. Every year they give the opportunity to learn from one another on a massive scale. In this 2022 year’s conference, our architect Ram Lakshmanan was invited to talk on the topic: “This Is Garbage Talk. Don’t Attend!”. In his speech, he says that Enterprises are wasting millions of dollars in garbage collection even knowing that they are wasting it. He brings to our attention how several millions of dollars are wasted and what we can do to save money. Optimizing garbage collection performance not only ..read more
Visit website
Simulating & troubleshooting OOMError in Kotlin
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
3M ago
In this series of simulating and troubleshooting performance problems in Kotlin, let’s discuss how to simulate the ‘java.lang.OutOfMemoryError: Java Heap space’ problem. ‘java.lang.OutOfMemoryError: Java Heap space’ will be thrown by the application, when it generates more objects than the maximum configured heap size. Kotlin OutOfMemoryError Program Here is a sample Kotlin program, which generates the ‘java.lang.OutOfMemoryError: Java Heap space’ problem. package com.buggyapp class OOMDemo { var myMap = HashMap<Any, Any>() @Throws(Exception::class) fun start ..read more
Visit website
Simulating & troubleshooting StackOverflowError in Scala
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
3M ago
In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate StackOverflowError. StackOverflowError is a runtime error, which is thrown, when a thread’s stack size exceeds its allocated memory limit.  Sample Program Here is a sample Scala program, which generates the StackOverflowError: package com.yc class StackOverflowApp { } object StackOverflowApp { def main(args: Array[String]): Unit = { System.out.println("hit enter to start the StackOverflowApp") System.in.read() start() } def start(): Unit = { ano ..read more
Visit website
You might be wasting millions of dollars in garbage Collection – JAX London!
GC easy – Universal Java GC Log Analyser
by GCeasy Team
4M ago
Every year in October, JAX London is the go-to event for Java and Software Architecture enthusiasts! It is a four-day conference for cutting-edge software engineers and enterprise-level professionals. This year, at JAX London’s 2022 conference, our architect Ram Lakshmanan was invited to talk on the topic: “You might be wasting millions of dollars in garbage Collection”. In his speech, he says that Enterprises are wasting millions of dollars in garbage collection even knowing that they are wasting it. He brings to our attention how several millions of dollars are wasted and what we can do to s ..read more
Visit website
Chaos Engineering – Metaspace OutOfMemoryError
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
JVM memory has following regions:  Fig: JVM memory regions a. Young Generation b. Old Generation c. Metaspace d. Others region When you encounter ‘java.lang.OutOfMemoryError: Metaspace’ it indicates that the Metaspace region in the JVM memory is getting saturated. Metaspace is the region where metadata details that are required to execute your application are stored. In nutshell they contain Class definitions and method definitions of your application. To learn more about what gets stored in each of the JVM memory regions, you may refer to this video clip. In this post let’s discuss how ..read more
Visit website
Automobile company optimizes performance using GCeasy
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
I have heard a few of my developer friends say: “Garbage Collection is automatic. So, I do not have to worry about it.“ The first part is true, i.e., “Garbage Collection is automatic” on all modern platforms – Java, .NET, Golang, Python… But the second part i.e., “I don’t have to worry about it.” – may not be true. It is arguable, questionable. Here is my case to showcase the importance of Garbage Collection: By virtue of optimizing Garbage collection performance, you are not only improving the Garbage collection pause time, but you are improving the overall application’s response time. W ..read more
Visit website
Inspect the contents of the Java Metaspace region
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
JVM Memory has following regions: a. Young Generation b. Old Generation c. Metaspace d. Others region Fig: JVM memory regions To see what objects are stored in what region, you may refer to this video clip. Sometimes your application might run into ‘java.lang.OutOfMemoryError: Metaspace’ as discussed in this post. In such circumstances you might want to see what are the contents loaded in the Metaspace region of the JVM. In nutshell, the Metaspace region in the JVM memory contains the class metadata definitions that are required to execute your application. If you want to understand what clas ..read more
Visit website
Java String intern(): Performance impact
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
6M ago
java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory consumption of your application by eliminating duplicate strings in your application. To learn how intern() function works, you may refer to this blog. In this post let’s discuss the performance impact of using java.lang.String#intern() function in your application. intern() function Demo To study the performance behavior of intern() method, we created these two simple programs: public class InternDemo { private static List<String> datas = new ArrayLi ..read more
Visit website

Follow GC easy – Universal Java GC Log Analyser on Feedspot

Continue with Google
OR