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”
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”
Is today’s microservice more bloated than yesterday’s monolith?
I am slightly hesitant to write this post, as it might attract some criticism. Nevertheless, I told myself there is nothing wrong with sharing my point of view (even though it might not be well accepted). I would like to share my personal experience regarding yesterday’s Monolithic and today’s Microservice architecture in this post.Continue reading “Is today’s microservice more bloated than yesterday’s monolith?”
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?”
HeapHero Web – Remote Location
In HeapHero enterprise edition web tool we have introduced a new feature called Remote Location. Using this feature now you can pass the http(s) URL location of your heap dump in the request.Continue reading “HeapHero Web – Remote Location”
HeapHero API – Remote Location
In heap dump analysis API we have introduced a new feature called Remote Location. Using this feature now you can pass the http(s) URL location of your heap dump in the request.Continue reading “HeapHero API – Remote Location”
OUTOFMEMORYERROR RELATED JVM ARGUMENTS
JVM has provided helpful arguments to deal with OutOfMemoryError. In this article we would like to highlight those JVM arguments. It might come handy for you when you are troubleshooting OutOfMemoryError. Those JVM arguments are:Continue reading “OUTOFMEMORYERROR RELATED JVM ARGUMENTS”
AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING
Troubleshooting OutOfMemoryError or any memory related problem is done in manually even in 2019. Troubleshooting and identifying the root cause of OutOfMemoryError can even be automated, by following below mentioned 3 steps:Continue reading “AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING”
SHALLOW HEAP, RETAINED HEAP
Eclipse MAT (Memory Analyzer Tool) is a powerful tool to analyze heap dumps. It comes quite handy when you are trying to debug memory related problems. In Eclipse MAT two types of object sizes are reported:Continue reading “SHALLOW HEAP, RETAINED HEAP”
HOW MUCH MEMORY IS MY APPLICATION WASTING?
In early 1970s 1 MB was costing 1 million $. Now 1 mb is costing fraction of that cost. There is no comparison. This is one of the reasons why engineers and enterprises don’t worry about memory any more. 1 million $ in 1970s might be equivalent of several millions of dollars’ worth today. Thus, back in the day’s memory was treated so preciously. This preciousness has been vividly described in the book ‘Idea Man’ – autobiography of Paul Allen (Microsoft Co-founder). Paul Allen talks about the challenge he and Bill Gates faced in writing BASIC programming language (Microsoft’s very first product) under 4 KB.Continue reading “HOW MUCH MEMORY IS MY APPLICATION WASTING?”