JVM failed to start "Could not reserve enough space for object"
This question already has an answer here:
One of the possible causes is that you set the minimal heap size to reserve more memory than available. set using the -Xms flag to the java command. If this flag is set make sure this amount of memory is free for use on your system.
Could not reserve enough space for object heap is mainly caused by providing a memory size to -Xmx
which can not be allocated by the system.
Windows 32 bit will give you (IIRC) about 2GiB maximum memory per process, Java needs some space for its internal stuff which leaves you with around 1.4 to 1.6GiB of maximum heap.
Just try to lower the -Xmx
parameter until it creates the VM.
上一篇: Java无法为对象堆错误预留足够的空间