我的机器有3G物理内存,但当我设置JVM的时候java -Xmx2048m -Xms521m
提示我
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
提示我
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.JVM到底是如何计算出最大JVM内存的啊。