Simulating & troubleshooting OOMError in Kotlin 

In this series of simulating and troubleshooting performance problems in Kotlin, 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 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/y9Iydjrnix8... Continue Reading →

Simulating & troubleshooting Thread leak in Kotlin

In this series of simulating and troubleshooting performance problems in Kotlin, 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. This error will disrupt the application’s availability. Video: To see the visual walk-through of this post,... Continue Reading →

Simulating & troubleshooting deadlock in Kotlin

All multi-threaded applications are prone to deadlock. Modern Kotlin platform is no exception to it. In this post let’s discuss how to simulate a deadlock in Kotlin and how you can troubleshoot it. What is Deadlock? First let's try to understand what 'Deadlock' means. Several technical definitions aren’t clear. ‘Deadlock’ is one among them ;-).... Continue Reading →

Up ↑