I had this interesting problem with a major shipping/logistics company. Their application was running on Java 6, JBoss Cluster in RedHat Linux platform. Continue reading “JBoss Shunning, Unloading class sun.reflect”
DataStax cassandra netty OutOfMemoryError
Recently I encountered this issue. One of the application connects with Apache Cassandra NoSQL Database. Application uses DataStax java driver to connect Continue reading “DataStax cassandra netty OutOfMemoryError”
Java fans soul felt letter!
Dear Java!
We have been your child-hood friends since 1995. Now you have grown-up and looking different Continue reading “Java fans soul felt letter!”
Jhat – heap dump analysis
In the earlier article we saw how to generate Heap Dump from the JVM. In this article we will see how to analyze a heap dump in detail Continue reading “Jhat – heap dump analysis”
Thread Dump analysis
In the earlier blog you saw how to generate thread dump. This blog walks you through on how to analyze thread dumps. Continue reading “Thread Dump analysis”
JVM Internals in 3 slides
Learn about JVM Internals in just 3 crisp slides. Deck talks about JVM Architecture, it’s memory model and Garbage Collection process Continue reading “JVM Internals in 3 slides”
Why JVM will outlive java?
Here is my case to prove that JVM will outlive Java. As an Engineer what you can do to capitalize on this opportunity? Continue reading “Why JVM will outlive java?”
HP Jmeter – GC Analysis Tool
HP Jmeter is a powerful tool to do Garbage Collection Analysis. Even though there are few Garbage collection analysis tool Continue reading “HP Jmeter – GC Analysis Tool”
Understanding Garbage Collection Log
To diagnose any memory problems, Garbage Collection log file is the best place to start. It provides several interesting statistics: Continue reading “Understanding Garbage Collection Log”
CPU maxes out and utilization never goes down?
Continue reading “CPU maxes out and utilization never goes down?”This is an old, outdated article. We have devised a better and simpler strategy to troubleshoot CPU spikes in this article.
How to capture Thread dump? – jstack, jvisualvm
Thread dump is a snapshot of all the threads that were executing at a moment in time. It shows the stack trace of each thread Continue reading “How to capture Thread dump? – jstack, jvisualvm”
How to capture heap dump? – jmap, -XX:+HeapDumpOnOutOfMemoryError
Heap dump is a snapshot of the Java memory. It contains information about the Java objects and classes in the heap at the moment Continue reading “How to capture heap dump? – jmap, -XX:+HeapDumpOnOutOfMemoryError”
Yes, you can catch Memory Leaks during test
Memory leaks are dangerous problems which puts entire application’s availability in to question mark. Most of the time Continue reading “Yes, you can catch Memory Leaks during test”
Memory Leak in Java Executor!
I was surprised to witness the Java Executor behavior – which caused Continue reading “Memory Leak in Java Executor!”
Spring IOC Container – Performance Problem
Spring IOC Container wires the dependencies among the beans and returns the fully built bean tree to the caller. Continue reading “Spring IOC Container – Performance Problem”
Thread Dump Analysis Pattern – THREAD MILL
Description
You might have experienced the application’s CPU to spike up suddenly & spike wouldn’t go down until JVM is recycled. Continue reading “Thread Dump Analysis Pattern – THREAD MILL”
Thread Dump Analysis Pattern – Traffic Jam
Description
Thread-A could have acquired the lock-1 and then would never release it. Thread-B could have acquired lock-2 Continue reading “Thread Dump Analysis Pattern – Traffic Jam”
THREAD DUMP ANALYSIS PATTERN – Several Scavengers
Description
Based on the type of GC algorithm (Serial, parallel, G1, CMS) used, default number of garbage collection threads Continue reading “THREAD DUMP ANALYSIS PATTERN – Several Scavengers”
Circular Deadlock
Description
Dinning Philosophers is a classic computer science problem that happens in concurrent programming. Continue reading “Circular Deadlock”
This is an old, outdated article. We have devised a better and simpler strategy to troubleshoot CPU spikes