Java/JVM

Java Memory Management and Garbage Collection Explained (Part 1)

Introduction Java memory management refers to the process by which the Java Virtual Machine (JVM) allocates, organizes, and reclaims memory used by variables, methods, classes, and objects during program execution. It ensures efficient memory use by automatically managing object creation and destruction, helping developers avoid manual...

by Mohit Ramtari
Tag: heap
04-Aug-2025

Java/JVM, Technology

Java Garbage Collection – An Overview

Garbage Collection is a process to identify and delete the objects from Heap memory which are not in use. GC frees the space after removing unreferenced objects. The event in which Garbage Collectors are doing their job is called "Stop the world" event which means all of your application threads are put on hold until the garbage is...

by Greesh Kumar
Tag: heap
20-Jan-2018