Search

GC easy – Universal Java GC Log Analyser

Tag

OutOfMemoryError

TCP: out of memory — consider tuning tcp_mem

Recently we experienced an interesting production problem. This application was running on multiple AWS EC2 instances behind Elastic Load Balancer. The application was running on GNU/Linux OS, Java 8, Tomcat 8 application server. All of sudden one of the application instances became unresponsive. All other application instances were handling the traffic properly. Whenever the HTTP request was sent to this application instance from the browser, we were getting following response to be printed on the browser.

Continue reading “TCP: out of memory — consider tuning tcp_mem”

OUTOFMEMORYERROR RELATED JVM ARGUMENTS

JVM has provided helpful arguments to deal with OutOfMemoryError. In this article, we would like to highlight those JVM arguments. It might come handy for you when you are troubleshooting OutOfMemoryError. Those JVM arguments are:

Continue reading “OUTOFMEMORYERROR RELATED JVM ARGUMENTS”

AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING

Troubleshooting OutOfMemoryError or any memory related problem is done manually even in 2019. Troubleshooting and identifying the root cause of OutOfMemoryError can even be automated, by following below mentioned 3 steps: 

Continue reading “AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING”

DIAGNOSE MEMORY LEAK

There are 8 types of OutOfMemoryError. In this, 5 types of OutOfMemoryError happens within the JVM heap. Continue reading “DIAGNOSE MEMORY LEAK”

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
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”

REPEATED FULL GC

Is your JVM experiencing Repeated Full GCs? Are you wondering what might have caused it? Are you struggling to fix it? Then you are reading right article.

Continue reading “REPEATED FULL GC”

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.

Continue reading “MEMORY LEAK IN JAVA EXECUTOR!”

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 ↑