3 ms·
> they take what they can get from the OS : It's the opposite, they run in JVM so there's an upper bound at around -Xmx ("around" because you still have stack
by dixie_land 4y ago
> they take what they can get from the OS :
It's the opposite, they run in JVM so there's an upper bound at around -Xmx ("around" because you still have stack allocated and JNI allocated, but heap is usually the biggest pool of memory by a large margin)
on the flip side it also has a lower bound at -Xms
Personally I have mine running with 16/32G heap. It's my work computer not like I need the 64G ram for gaming :)