4
我得到这个Java问题虚拟机初始化时发生错误;无法为对象堆预留足够的空间;无法创建Java虚拟机
[[email protected] sbin]# java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
[[email protected] sbin]# free -m
total used free shared buffers cached
Mem: 256 182 73 0 0 0
-/+ buffers/cache: 182 73
Swap: 0 0 0
[[email protected] sbin]#
这是一个虚拟机。我正在考虑这个问题,因为内存不够大。如果有人同意我的意见。
它与 运行的CentOS 5.6版(最终)
感谢
你是对的 – hvgotcodes
是的,你的猜测是对的!考虑为该虚拟机分配更多的内存。您可以在该VM的硬件设置中执行此操作。 – Rakesh