Feb 14 · 4 min read · Understanding JVM memory is one of those topics that appears deceptively simple but is frequently explained with a mixture of intuition and myth. Many developers hear statements like “the heap stores addresses” or “objects contain methods,” which sou...
Join discussion
Apr 24, 2025 · 4 min read · In Java, there are nine types of Out of Memory errors, each caused by a different issue. When it comes to debugging and solving these errors, we need to tailor our strategy to the particular type of error. In this article, we’ll be concentrating on t...
Join discussion
Apr 24, 2025 · 3 min read · In this article, we’ll look at the Java error java.lang.outofmemoryerror: PermGen Space Issues. This message is only seen when we’re using Java 7 or earlier. From Java 8 onwards, the Permgen (Permanent Generation) has been replaced by the Metaspace. ...
Join discussion
Apr 24, 2025 · 4 min read · Are you seeing this JVM error: java.lang.outofmemoryerror: direct buffer memory? It’s becoming more and more common as modern applications move towards using direct buffers to enhance application performance. The Spring framework, for instance, recom...
Join discussion
Apr 18, 2025 · 4 min read · Out of memory errors in Java are fairly common. Some variations of these, however, are rare. In this article, we’ll take a look at an error message that’s seldom seen: java.lang.OutOfMemoryError: reason stack_trace_with_native_method. This is one of...
Join discussion
Apr 18, 2025 · 4 min read · Intermittent errors are the most frustrating problems to deal with in production. This is especially so when an application apparently disappears without trace. Perhaps a service becomes unavailable, or a batch process terminates without completing i...
Join discussion
Sep 18, 2024 · 6 min read · Apache Spark is a tool used to process large amounts of data. It’s fast, scalable, and great for big data tasks. However, sometimes when working with Spark, you might run into a common issue: the "Executor Out of Memory" error. If you've seen this er...
Join discussionJul 23, 2024 · 2 min read · So recently I wanted to perform a memory analysis on a heap dump of whooping 5GB using Eclipse’s Memory Analyzer Tool (MAT). My Eclipse IDE fainted just by the idea of opening up and parsing this gigantic dump file. One of the option here is to incre...
YYash commented
Jul 20, 2023 · 4 min read · In this article, I show how Android memory leaks lead to jank, freezes and ANRs more often than they lead to OutOfMemoryError crashes. Navigation Latency At Square, we've been tracking a User-Centric performance metric: Interaction Latency. We track ...
Join discussion