Search

GC easy – Universal Java GC Log Analyser

Tag

OutOfMemoryError

7 JVM arguments of Highly Effective Applications

At the time (March 2020) of writing this article there are 600+ arguments that you can pass to JVM just around Garbage collection and memory. If you include other aspects, total JVM arguments count will easily cross 1000+. 😊. It’s way too many arguments for anyone to digest and comprehend. In this article, we are highlighting seven important JVM arguments that you may find it useful.

Continue reading “7 JVM arguments of Highly Effective Applications”

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”

MICROMETRICS TO FORECAST APPLICATION PERFORMANCE

Even unpredictable weather is being forecasted. But after all these technological advancements, are we able to forecast our application performance & availability? Are we able forecast even for the next 20 minutes? Will you be able to say that in the next 20 minutes application is going to experience OutOfMemoryError, CPU spikes, crashes? Most likely not. It’s because we focus only on macro-metrics:

Continue reading “MICROMETRICS TO FORECAST APPLICATION PERFORMANCE”

VIRTUAL MACHINE ERROR

Java.lang.VirtualMachineError is thrown when Java virtual machine encounters any internal error or resource limitation which prevents it from functioning. It’s a self-defensive mechanism employed by JVM to prevent entire application from crashing.In this article lets discuss different types of VirtualMachineError, their characteristics, reasons why they get triggered and potentials solutions to fix them.

Continue reading “VIRTUAL MACHINE ERROR”

MICROMETRICS FOR CI/CD PIPELINE

Continuous Integration/Continuous Deployment (CI/CD) has become central to software development. To ensure high-quality software releases smoke tests, regression tests, performance tests, static code analysis & security scans are run in CI/CD pipeline. Despite of all these quality measures, still OutOfMemoryError, CPU spikes, unresponsiveness, degradation in response time are surfacing in production environment.

Continue reading “MICROMETRICS FOR CI/CD PIPELINE”

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

Powered by WordPress.com.

Up ↑