The JVM heap is divided into 2 areas: young generation and older generation.
Initially, the JVM allocates memory in the younger section.
If the memory is not soon deallocated, it migrates to the older section.
MAX_HEAP_SIZE is the size of the total heap.
HEAP_NEWSIZE is the portion of the heap allocated to the younger section.