java -version not enough space for object heap

Discussion in 'Bukkit Help' started by add1ct3dd, Jan 19, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    add1ct3dd

    Hey,
    I'm trying to setup the server on Ubuntu, and even during checking the initial java version i get the error:
    Error occured during initialization of the VM
    Could not reserve enough space for object heap.
    Could not create the java virtual environment

    I also get the same error when trying to run the server!
    I'm on a 512MB RAM VPS, so i should be ok, i tried the Xms and Xmx at 368MB but nothing!

    Any suggestions? it's a clean ubuntu install and i've only installed java/screen!
     
  2. Offline

    TnT

    Try Xms128M and Xmx128M

    You simply don't have enough memory to allocate as much as you did.
     
  3. Offline

    add1ct3dd

    it's running now, changed to Debian 5 :)
    on 256M dedicated for it, just can't login because of the MC servers! :(
     
Thread Status:
Not open for further replies.

Share This Page