Throughput in Garbage Collection

Throughput in Garbage Collection

When it comes to the memory management of a software application, garbage collection is crucial. Actually, the memory of unused or unreferenced objects is recovered by a Java program called Garbage Collector. It means that, like other Java codes, the GC executes when a certain condition, such as memory fullness, is met. GC affects the … Read more

Types of Garbage Collectors

Garbage Collector Type

Before diving into the different types of garbage collectors, it’s important to understand some basic terms: 1. Serial Garbage Collector (Serial GC) Overview: Behavior: Performance Characteristics: JVM Argument: -XX:+UseSerialGC Recommended Use Cases: Limitations: 2. Parallel Garbage Collector (Parallel GC) Overview: Behavior: Performance Characteristics: JVM Argument:  -XX:+UseParallelGC Tuning Options: Recommended Use Cases: Limitations: 3. Concurrent Mark … Read more

How does Garbage Collector work?

How does GC work, Minor GC, Major GC, Full GC

In our previous article on the Garbage Collector, we explained what a Garbage Collector is and why it is important in Java. We covered the basic concept that Java automatically removes objects from memory when they are no longer needed, helping prevent memory leaks and improving application performance. In this article, we’ll examine how the Garbage … Read more

Memory Heap

What is Memory Heap? The heap is a special area in a computer’s memory used by programs to store data while the program is running. When a program creates something new (like a text message, image, or user info), it goes into the heap. This memory is managed automatically, meaning the program adds or removes … Read more

Garbage Collection – Overview

When developers write Java programs, their code often creates many objects. These objects are stored in a special area of memory called the heap. But what happens to the memory when we no longer need some of those objects? That’s where Garbage Collection comes into play. What is a Garbage Collector? A Garbage Collector is … Read more