Hi Friends, We are back with a new Story 😃. Hope you will enjoy reading it.
Continue reading “The Trip to Heaven!”Simulating & troubleshooting StackOverflowError in Scala
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.
Continue reading “Simulating & troubleshooting StackOverflowError in Scala”Simulating & troubleshooting OOMError in Kotlin
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.
Continue reading “Simulating & troubleshooting OOMError in Kotlin”Chaos Engineering – Metaspace OutOfMemoryError
JVM memory has following regions:

Fig: JVM memory regions
a. Young Generation
b. Old Generation
c. Metaspace
d. Others region
Continue reading “Chaos Engineering – Metaspace OutOfMemoryError”Inspect the contents of the Java Metaspace region
JVM Memory has following regions:
a. Young Generation
b. Old Generation
c. Metaspace
d. Others region
Continue reading “Inspect the contents of the Java Metaspace region”Java String intern: Performance impact
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.
Continue reading “Java String intern: Performance impact”Java String intern(): Interesting Q & A
intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. In this post, let’s learn more about this intern() function.
Continue reading “Java String intern(): Interesting Q & A”In which region intern strings are stored?
intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. To understand how string intern() function works you may refer to this interesting blog. Intern strings are stored in a string pool in the JVM memory. JVM Memory has following regions:
Continue reading “In which region intern strings are stored?”Troubleshooting Microservice’s OutOfMemoryError: Metaspace
Recently we confronted an interesting ‘java.lang.OutOfMemoryError: Metaspace’ problem in a Microservice application. This Microservice application will run smoothly for initial few hours, later it will start to throw java.lang.OutOfMemoryError: Metaspace. In this post let me share the steps we pursued to troubleshoot this problem.
Continue reading “Troubleshooting Microservice’s OutOfMemoryError: Metaspace”Troubleshooting HTTP 502 bad gateway in AWS EBS
The application that we are going to discuss in this post was running on Elastic Beanstalk (EBS) service in Amazon Web Services (AWS). Intermittently this application was throwing HTTP 502 Bad Gateway error. In this post, let’s discuss how we troubleshooted and resolved this HTTP 502 bad gateway error in Elastic Beanstalk service.
Continue reading “Troubleshooting HTTP 502 bad gateway in AWS EBS “