Simulating & troubleshooting Deadlock in Scala

All multi-threaded applications are prone to Deadlock. Modern Scala platform is no exception. In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate a Deadlock in Scala and how you can troubleshoot it.  What is Deadlock? First let's try to understand what 'Deadlock' means. Several technical definitions aren’t clear.... Continue Reading →

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 maximum configured heap size. Video: To see the visual walk-through of this post, click below: https://youtu.be/aoLHQsyCCyE... Continue Reading →

Simulating & troubleshooting Thread leak in Scala

In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate thread leaks. ‘java.lang.OutOfMemoryError: unable to create new native thread’ will be thrown when more threads are created than the memory capacity of the device. When this error is thrown, it will disrupt the application’s availability. Video: To see the... Continue Reading →

Up ↑