Search

GC easy – Universal Java GC Log Analyser

Tag

Java,

MEMORY WASTED BY SPRING BOOT APPLICATION

One of the widely wasted resources in the world today is: Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is wasting. This application has been designed by the community to show how the spring application framework can be used to build simple but powerful database-oriented applications.

Continue reading “MEMORY WASTED BY SPRING BOOT APPLICATION”

Total time for which application threads were stopped

Safepoint

Lot of us know that JVM pauses entire application for garbage collection. But there are also other reasons for which JVM pauses application. Continue reading “Total time for which application threads were stopped”

A CASE STUDY: DIFFERENT GC ALGORITHMS BEHAVIOR IN PRODUCTION

On a major B2B application different GC algorithms behaviors were studied. This application is basically a web service provider servicing SOAP and REST requests from its clients.

Continue reading “A CASE STUDY: DIFFERENT GC ALGORITHMS BEHAVIOR IN PRODUCTION”

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 anymore), still the CPU consumption is maxed out. The only way to recover from this problem is to recycle the application. After recycling, the application might be running fine for a few hours (or a few minutes depending on your karma :-)) before the CPU consumption starts to spike up.

Continue reading “HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?”

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

Continue reading “TROUBLESHOOT OUTOFMEMORYERROR: UNABLE TO CREATE NEW NATIVE THREAD”

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 written by them, Jobs took 16:04 hours to complete. Batch jobs that were started at 6:00 pm PST completed around 10:00 am PST next day. Due to which business was suffering from couple of complications:

Continue reading “JAVA BATCH OPTIMIZATION”

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 Continue reading “DATASTAX CASSANDRA NETTY OUTOFMEMORYERROR”

Powered by WordPress.com.

Up ↑