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 →
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 →
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 →
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 →
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.
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 →