Java error centos 6

This question already has an answer here:

  • Could not reserve enough space for object heap 25 answers
  • I am having a java error please help me [duplicate]

  • Just so you know, it didn't work doesn't help us help you.

    That said, it looks like your system doesn't have enough memory to create Java's virtual machine - so Java must be installed.

    I deduced this by reading

  • Could not reserve enough space for object heap
  • Could not create the Java virtual machine.
  • You can try shrinking the heap size by specifying the -Xmx and -Xms arguments.

    java -Xmx64m -Xms32m
    
    链接地址: http://www.djcxy.com/p/82908.html

    上一篇: 位JVM限于300GB的内存?

    下一篇: Java错误的centos 6