Search

Fast thread

Universal Java Thread Dump Analyzer

Tag

OutOfMemoryError

OUTOFMEMORYERROR AND FINALIZER THREAD

What will happen behind the scene when you write a finalizer method? How the finalizer thread leads to OutOfMemoryError? How to find the root cause of finalizer thread stuck and how to troubleshoot it using http://fastthread.io/ Watch this video to know... Continue Reading →

TROUBLESHOOT OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD

There are 8 flavors of java.lang.OutOfMemoryError. In these 8 flavors java.lang.OutOfMemoryError: unable to create new native thread is one of the commonly occurring flavor. This type of 'OutOfMemoryError' is generated when an application isn’t able to create new threads. This error can surface... Continue Reading →

HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?

 This is an old, outdated article. We have devised a better and simpler strategy to troubleshoot CPU spikes in this article.  Your Java application has been running fine, but all of a sudden CPU consumption starts to go higher and higher... Continue Reading →

THREAD DUMP ANALYSIS PATTERN – ALL ROADS LEAD TO ROME

Description If several threads in a thread dump end up working on one single method, then it might be of concern. Most of the times, if there is a problem (say poorly responding data source, un-relinquished lock, infinite looping threads... Continue Reading →

THREAD DUMP ANALYSIS PATTERN – LEPRECHAUN TRAP

Description Objects that have finalize() method are treated differently during Garbage collection process than the ones which don't have them. During garbage collection phase, object with finalize() aren't immediately evicted from the memory. Instead as first step, those objects are added... Continue Reading →

MEMORY LEAK IN JAVA EXECUTOR!

I was surprised to witness the Java Executor behavior – which caused “java.lang.OutOfMemoryError: unable to create new native thread” in our application. I would like to share my surprise (i.e. problem) and resolution to it.

DATASTAX CASSANDRA NETTY OUTOFMEMORYERROR

Recently I encountered this issue. One of the application connects with Apache Cassandra NoSQL Database. The application uses DataStax java driver to connect with Cassandra. DataStax has a dependency on the netty library. To be specific following are the Jars that application uses:... Continue Reading →

Powered by WordPress.com.

Up ↑