I have desktop machine with 4 GB RAM. By default how much memory is reserved for heap?
Asked
Active
Viewed 247 times
0
-
Go through this link it may help you https://stackoverflow.com/questions/7663174/what-is-the-largest-possible-heap-size-with-a-64-bit-jvm – Jay Shankar Gupta Feb 15 '18 at 06:00
-
what OS are you using? – Dalton Cézane Feb 15 '18 at 06:01
-
`System.out.println(Runtime.getRuntime().maxMemory());` Try it yourself. :) – xiaofeng.li Feb 15 '18 at 06:07