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 →
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 →
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 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 →
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 →
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.
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 →
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 →
This is an old, outdated article. We have devised a better and simpler strategy to troubleshoot CPU spikes in this article. Have you ever encountered circumstance where your applications CPU maxes out and never goes down even if traffoc volume goes down?... Continue Reading →