Search

Fast thread

Universal Java Thread Dump Analyzer

Tag

OutOfMemoryError

Simulating & troubleshooting OOMError in Scala

In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate the ‘java.lang.OutOfMemoryError: Java Heap space’ problem. ‘java.lang.OutOfMemoryError: Java Heap space’ will be thrown by the Scala application, when it generates more objects than the... Continue Reading →

Java Hashtable, HashMap, ConcurrentHashMap – Performance impact

There are a good number of articles that articulate functional differences between HashMap, HashTable and ConcurrentHashMap. This post compares the performance behavior of these data structures through practical examples. If you don't have patience to read the entire post, here... Continue Reading →

Let’s crash the applications! – Confoo 2022

ConFoo Montreal is a multi-technology conference for developers. This year , they have conducted the program to exchange knowledge and ideas from speakers all over the world. Our Architect Ram Lakshmanan was invited to give a talk on the topic:... Continue Reading →

Let’s crash the applications! – W-JAX 2021

JAX – Online conference is the meeting place for all Java and software architecture enthusiasts! This year also, they have conducted an online conference to exchange knowledge and ideas from speakers all over the world. They have invited our architect... Continue Reading →

Look for exceptions, errors in thread dumps

Thread dumps are vital artifacts to troubleshoot/debug production problems. In the past we have discussed several effective thread dump troubleshooting patterns like: traffic jam, treadmill, RSI, all roads lead to rome ………. In this article we would like to introduce... Continue Reading →

Threads throwing exception

Threads that are throwing Exception or Errors should be investigated. Because those threads stack trace indicates the origin of the problem. Below is the stack trace of the thread that is throwing java.lang.OutOfMemoryError: Thread 0x3ff781e764e0 at java.lang.OutOfMemoryError.<init>()V (OutOfMemoryError.java:48) at java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;... Continue Reading →

Problem prone classes/methods

Coming soon...

OUTOFMEMORYERROR RELATED JVM ARGUMENTS

You can configure JVM to invoke any script when OutOfMemoryError is thrown. Most of the time,OutOfMemoryError doesn't crash the application

AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING

Troubleshooting OutOfMemoryError or any memory related problem is done in manually even in 2019. Troubleshooting and identifying the root cause of OutOfMemoryError can even be automated, by following below mentioned 3 steps: 1. Capture heap dump 2. Restart application 3.... Continue Reading →

Powered by WordPress.com.

Up ↑