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 →

JAVA GARBAGE COLLECTION INTERVIEW QUESTIONS

The content provides an overview of Java Garbage Collection, detailing five JVM memory regions: Eden, Survivor, Old Generation, Perm Generation (up to Java 7), and Metaspace (from Java 8). It explains various GC types (Minor, Major, Full), algorithms (Serial, Parallel, CMS, G1), their merits, and tools for analyzing GC logs.

Java Collection Overhead

The Java Virtual Machine enables Java applications to be platform-independent while optimizing performance. One crucial component to understand, when considering performance, especially memory utilization, is how the Java Collections Framework, specifically the ArrayList, handles size and capacity. In this article, we will concentrate on the overhead caused by lists that contain two or three elements.... Continue Reading →

Inspect the contents of the Java Metaspace region

The JVM memory consists of regions: Young Generation, Old Generation, and Metaspace. To inspect loaded classes in Metaspace, various methods can be used: -verbose:class (Java 8), -Xlog:class+load (Java 9+), jcmd GC.class_histogram, a programmatic approach, and Heap Dump analysis. Each method provides insights without significant application overhead.

Up ↑