Howw to add more RAM to bukkit on Linux?

Discussion in 'Bukkit Help' started by mozoa, Nov 20, 2011.

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

    mozoa

    Since some time, I have my own little server.
    Just one problem, I can not assign more RAM with the launcher specified in the Wiki.
    Could someone give me the code for a custom launcher that allows me to assign RAM?

    Os details: Ubuntu 11.10 64-bit
    Bukkit version: 1337
    Java version: OpenJDK 6 AND OpenJDK 7

    However OpenJDK 7 and Minecraft don't like eachother
     
  2. Offline

    zhuowei

    Replace the -Xmx option in the shell script.
    Code:
    #!/bin/sh
    BINDIR="\$(dirname "\$(readlink -fn "\$0")")"
    cd "\$BINDIR"
    java -Xincgc -Xmx900000000000000G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    
    Will let you use 900000000000000G of memory.
     
  3. Offline

    mozoa

    Well thank you, But i don't really think i need to use that much :p
     
Thread Status:
Not open for further replies.

Share This Page