Prakash KaruppusamyFollowOct 29, 2021·1 min readJava Heap MemoryThis picture illustrates how JVM internal memory looks like. Any newly created object first get into “Young Gen” and slowly moved to “Old Gen”. We can customize the size dynamically using-XX command as mentioned in the image.