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”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”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?”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”