JVM failed to start "Could not reserve enough space for object"

This question already has an answer here:

  • Could not reserve enough space for object heap to start JVM 3 answers

  • 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.

    链接地址: http://www.djcxy.com/p/14560.html

    上一篇: Java无法为对象堆错误预留足够的空间

    下一篇: JVM无法启动“无法为对象预留足够的空间”