JAX LONDON 2024 – HOW TO TROUBLESHOOT 9 TYPES OF OUTOFMEMORYERROR

Every year in October, JAX London is the go-to event for Java and Software Architecture enthusiasts! It is a four-day conference for cutting-edge software engineers and enterprise-level professionals. This year, at JAX London’s 2024 conference, our architect Ram Lakshmanan was invited to talk on the topic: “How to Troubleshoot 9 Types of OutOfMemoryError”. Even though at surface... Continue Reading →

World’s First Interactive Graph to Visualize Objects in Memory

HeapHero introduces an interactive heap object chart, allowing users to visualize memory objects in a graphical format for the first time. This feature simplifies data comprehension and offers interactive exploration, making it easier to analyze the largest objects in heap memory. Users can navigate the chart, view actual data, and examine object references with ease, enhancing the overall user experience.

How to Solve OutOfMemoryError: reason stack_trace_with_native_method

This post looks into the rare 'java.lang.OutOfMemoryError: reason stack_trace_with_native_method' error, its causes, and solutions. It discusses JVM memory areas, heavy use of native methods, and recursive native method calls as common causes. Solutions include analyzing stack traces and using OS tools like DTrace, pmap, and pstack for diagnosis.

How to Solve OutOfMemoryError: Requested Array Size

This post looks at the rare 'java.lang.OutOfMemoryError: Requested array size exceeds VM limit' error and its causes. It explains JVM memory areas, possible solutions, and ways to diagnose the issue. The post includes a sample program and troubleshooting tips to help you fix this error. Share your experiences in the comments to help everyone learn more.

String Deduplication in Java

In this article, we’ll learn how to improve the performance of the applications that tend to use most of the space due to extensive usage of Strings. There’s no need to store more than one instance of immutable objects in our heap, and String is a good example. Object Allocation Let’s briefly refresh the information... Continue Reading →

Optimizing the Capacity of a HashMap

Many of us know that allocating more memory than we need may negatively affect the performance of our application. Thus, creating the Lists using a constructor that takes a capacity may make a significant difference. However, this optimization step might not be so straightforward while using Maps. In this article, we’ll learn how to identify... Continue Reading →

Actions on OutOfMemoryErrors

Everyone has at least once seen a failing application due to OutOfMemoryError. This error happens because the application cannot allocate the required memory. The specific reason for this problem may differ depending on the severity and heap section affected. However, in any case, we would like to have some actions prepared for this. In this... Continue Reading →

Up ↑