Search

Fast thread

Universal Java Thread Dump Analyzer

Category

Trouble Shooting

THREAD DUMP ANALYSIS API

In this modern world, thread dumps are still analyzed in a tedious & manual mode i.e., you have to get hold of DevOps team, ask them to send you the thread dumps, then they will mail you the thread dumps, then you will... 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... Continue Reading →

HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?

Your Java application has been running fine, but all of a sudden CPU consumption starts to go higher and higher until it stays at 80 - 100%. Even if you remove the server from load balancer (so that traffic isn’t sent... Continue Reading →

JAVA BATCH OPTIMIZATION

A major shipping monopoly in North America ported their Mainframe batch (25+) jobs to Java platform. This porting was done by one of the top 3 consulting companies of India. Because of the world-class architecture, selection of frameworks and code... Continue Reading →

SPRING IOC CONTAINER – PERFORMANCE PROBLEM

Spring IOC Container wires the dependencies among the beans and returns the fully built bean tree to the caller. Every time, not fully built bean tree is used by the caller, only portion of it is used.  Thus a significant portion... Continue Reading →

GRACEFULLY AND QUICKLY EVICT HTTP PERSISTENT CONNECTIONS

Title of this article might sound like an oxymoron. How can persistent HTTP connections be gracefully and at the same time quickly evicted? By Gracefully I mean here the client applications to close the connections by themselves without jeopardizing the... 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.

DATABASE CONNECTION POOL CONFIGURATION RECOMMENDATION

Configuring database connection pool is absolutely critical to the performance of the application. Configuring database connection pool is a double-edged sword; too strict configuration would degrade the application’s response time, whereas too lenient configuration would consume a lot of resources... Continue Reading →

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 →

Create a free website or blog at WordPress.com.

Up ↑