Search

Fast thread

Universal Java Thread Dump Analyzer

Tag

OutOfMemoryError

How to Analyze & Tune SpringBoot App Performance?

SpringBoot is a popular framework for Java web applications, facing performance challenges like memory, thread, CPU, and system issues. Effective tuning and monitoring with tools like yCrash can identify and resolve these bottlenecks, enhancing service availability and efficiency, thereby improving response times and reducing operational costs in enterprise environments.

Simulating & troubleshooting OOMError in Scala

This content discusses simulating and troubleshooting the 'java.lang.OutOfMemoryError: Java Heap space' issue in Scala applications. A sample program demonstrates how excessive object creation leads to memory overflow. It also explains manual and automated approaches, including heap dump analysis tools and the use of yCrash for diagnosing memory leaks effectively.

Java Hashtable, HashMap, ConcurrentHashMap – Performance impact

This post examines the performance of HashMap, Hashtable, and ConcurrentHashMap through practical examples. It concludes that while HashMap performs best, it lacks thread safety, leading to potential issues. ConcurrentHashMap offers slightly slower performance but is thread-safe, making it a preferable choice for concurrent applications.

Confoo 2022 – LET’S CRASH THE APPLICATIONS

ConFoo Montreal is a technology conference for developers featuring global speakers. Architect Ram Lakshmanan presented on application failures, discussing issues like memory leaks, thread leaks, CPU spikes, and deadlocks. Understanding these triggers is crucial for diagnosing and solving application performance problems effectively.

W-JAX 2021 – LET’S CRASH THE APPLICATIONS!

The JAX online conference gathers Java and software architecture enthusiasts globally. This year, an architect presented “Let's crash the applications!”, addressing issues like memory leaks, deadlocks, and CPU spikes through sample code. Understanding these triggers can simplify diagnosing and resolving related problems. Presentation slides are provided for reference.

Look for exceptions, errors in thread dumps

Thread dumps are essential for diagnosing production issues. This article introduces an additional troubleshooting pattern and outlines various methods to capture thread dumps. Analyzing thread dumps for Exceptions or Errors is crucial, as demonstrated by a java.lang.OutOfMemoryError case. Tools like fastThread can assist in identifying problematic threads efficiently.

Threads throwing exception

Threads that throw exceptions, like java.lang.OutOfMemoryError, should be examined for the source of issues. In this case, insufficient memory allocated for processing large XML payloads led to the error. Increasing the memory allocation resolved the problem, highlighting the importance of investigating exceptions in thread dumps for troubleshooting application issues.

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

Up ↑