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”
DOES 32-BIT OR 64-BIT JVM MATTER ANYMORE?
There are a few distinct differences and subtle nuances between 32-bit JVM and 64-bit JVM. We thought we will try to clarify them through this question & answer articleContinue reading “DOES 32-BIT OR 64-BIT JVM MATTER ANYMORE?”
JVM MEMORY – LEARN EASILY(VIDEO)
JVM memory has multiple regions, some are known (Young Generation, Old Generation, Metaspace). Some are unknown (Threads, JNI, Socket Buffers,…). Continue reading “JVM MEMORY – LEARN EASILY(VIDEO)”
ECLIPSE MAT – INCOMING REFERENCES, OUTGOING REFERENCES
Eclipse Memory Analyzer (MAT) is a powerful tool for heap dump analysis. It has several great features to debug memory problems effectively. ‘Incoming references’ and ‘outgoing references’ is one such feature. In this article let’s discuss about ‘incoming references’, ‘outgoing references’ and difference between them.Continue reading “ECLIPSE MAT – INCOMING REFERENCES, OUTGOING REFERENCES”
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”
VIRTUAL MACHINE ERROR
Java.lang.VirtualMachineError is thrown when Java virtual machine encounters any internal error or resource limitation which prevents it from functioning. It’s a self-defensive mechanism employed by JVM to prevent entire application from crashing. In this article lets discuss different types of VirtualMachineError, their characteristics, reasons why they get triggered and potentials solutions to fix them.Continue reading “VIRTUAL MACHINE ERROR”
GC LOG ANALYSIS COMPLIMENTS APM
Recently a smart engineering manager from a major financial institution asked the question: ‘We are already using APM tool (AppDynamics), why do we need to use GC log analysis tool (GCeasy)?’. Fair question that deserves detailed answer. There are angles to this question:Continue reading “GC LOG ANALYSIS COMPLIMENTS APM”
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?”
MEMORY EFFICIENT: ECLIPSE OR INTELLIJ?
Eclipse and IntelliJ are the two competing IDEs in the industry. There are lot of passionate discussion going in the social media, forums to declare the winner in this race. We thought it would be a fun exercise to study which IDE utilizes memory efficiently?Continue reading “MEMORY EFFICIENT: ECLIPSE OR INTELLIJ?”
MICROMETRICS FOR CI/CD PIPELINE
Continuous Integration/Continuous Deployment (CI/CD) has become central to software development. To ensure high-quality software releases smoke tests, regression tests, performance tests, static code analysis & security scans are run in CI/CD pipeline. Despite of all these quality measures, still OutOfMemoryError, CPU spikes, unresponsiveness, degradation in response time are surfacing in production environment.Continue reading “MICROMETRICS FOR CI/CD PIPELINE”