Search

Fast thread

Universal Java Thread Dump Analyzer

Category

Scala Thread Problems

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.

Simulating & troubleshooting Deadlock in Scala

This content highlights the concept of Deadlock in multi-threaded applications, particularly in Scala. It defines Deadlock as a situation where processes are mutually blocked due to resource contention, illustrated through a train analogy. A sample Scala program demonstrates Deadlock occurrence, and troubleshooting methods using tools like yCrash are discussed for effective analysis.

Simulating & troubleshooting BLOCKED threads in Scala

This content discusses how threads in Scala enter the BLOCKED state when they cannot acquire a lock due to another thread holding it. It provides a sample program illustrating this concept and explains both manual and automated approaches for diagnosing BLOCKED threads, including thread dumps and using the yCrash tool for analysis.

Simulating & troubleshooting Thread leak in Scala

This post discusses simulating and troubleshooting thread leaks in Scala, specifically through a program that causes 'java.lang.OutOfMemoryError: unable to create new native thread.' It outlines both manual and automated approaches for diagnosing this issue, utilizing thread dumps and tools like yCrash to analyze and pinpoint root causes effectively.

Simulating & troubleshooting CPU spike in Scala

This article discusses simulating and troubleshooting CPU spikes in Scala programs, particularly through infinite loops in threads. A sample program demonstrates this, launching six threads that run indefinitely. Troubleshooting methods include manual processes and automated tools like yCrash, which help identify and analyze the root causes of CPU consumption issues effectively.

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.

fastThread Tackles Mysterious CPU Spikes in a Major Trading Platform

we troubleshooted a CPU spike problem that surfaced in a major trading application in North America. All of a sudden, this application’s CPU started to spike up to 100%

Up ↑