Solved Can't start server, Java Virtual Machine

Discussion in 'Bukkit Help' started by Vincent1468, May 1, 2013.

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

    Vincent1468

    Hello,

    I have a VPS with 8GB RAM and I'd like to run my Minecraft server on it with 7GB of RAM.
    The VPS is running Debian 64bit.
    Here is my Java version:
    Code:
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    I'm using the SpaceBukkit control panel, when I try to startup with that I get this:
    Code:
    Unable to allocate bit map for parallel garbage collection for the requested heap size.Error: A fatal exception has occurred. Program will exit.
    Restarting...
    Error occurred during initialization of VMUnable to allocate bit map for parallel garbage collection for the requested heap size.Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    And when I try to start it from the commandline(Trough SSH) I get this:
    Code:
    root@server:/var/Minecraft# java -Xms7168 -Xmx1024 bukkit.jar
    Error occurred during initialization of VM
    Too small initial heap
    
    Does anyone know why this happends?
    Thanks.
     
  2. to me, it looks like you are trying to use to much RAM, you have 6gb and want to use 7gb.

    edit:
    nvm
     
  3. Offline

    Vincent1468

    Where do you see that I have 6GB?
    The VPS has 8GB of RAM.
     
  4. Offline

    Necrodoom

    -Xms7168 -Xmx1024
    im guessing its supposed to be the other way around?
    also missing type (m)
    -Xmx7168m -Xms1024m
     
  5. Offline

    Vincent1468

    Thanks for your reply,
    But it can't create the Java Virtual Machine.
    Code:
    root@server:/var/Minecraft# java -Xmx7168m -Xms1024m bukkit.jar
    Error occurred during initialization of VM
    Unable to allocate bit map for parallel garbage collection for the requested heap size.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    
     
  6. Offline

    bastion

    try it with less ram do

    "java -server -Xmx6G -jar bukkit.jar nogui"
     
Thread Status:
Not open for further replies.

Share This Page