JAVA
Memory Management in Java – JVM Memory Model
Java (JVM) Memory Model At broad level, JVM Heap memory is physically divided into two parts – Young Generation and Old Generation. Young Generation Young generation is the place where all the new objects are created. When young generation is filled, garbage collection is performed. This garbage collection is called Minor GC. Young Generation is divided into three parts – Eden Memory and two Survivor Memory spaces. Important Points about Young Generation Spaces: Most of Read more…