what is java heap size
In Java, the default and maximum heap size are allocated based on this â ergonomics algorithm. Heap sizes. Initial heap size of 1/64 of physical memory up to 1Gbyte. Maximum heap size of 1/4 of physical memory up to 1Gbyte.