Allocating more RAM

Discussion in 'Bukkit Help' started by Sweatyzana, Jan 21, 2013.

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

    Sweatyzana

    Hi I know how to allocate more RAM, but when I try to make it go up from 1024MB it says that it has to much RAM
    I have 16GB RAM
    I don't know how to check how much I am using
    I tried to go as low as 1500mb and it still did not work
     
  2. Offline

    LiLChris

    Post your startup script/command.
     
  3. Have 64bit java or not?
     
  4. you need to use 64bit java to address more than 3GB.
    get 64bit java, then add the "-d64" flag to your startup script.
    ie.

    PHP:
    1. java -d64 -Xmn512M -Xms2G -Xmx16G -jar craftbukkit.jar
    make sure you're also not trying to allocate more than what your computer has. If your PC comes with 16GB ram, allocate a max of 14GB so that the OS still runs smoothly
     
  5. Offline

    Sweatyzana

    Hi could you make me a proper example, like what I should put in? i put in your quote but it did not work
     
  6. Offline

    Sweatyzana

    and yes i have 64bit
     
  7. Offline

    Sweatyzana

    Guys anyone? I need help with this quite badly as im lagging alot
     
  8. Offline

    Sweatyzana

  9. Offline

    Sweatyzana

    anyone
     
  10. Offline

    computerxpds

     
  11. Offline

    Sweatyzana

    java -Xms1368M -Xmx1368M -jar craftbukkit.jar -o true
    PAUSE
     
  12. Any errors? In console?
     
  13. Offline

    Sweatyzana

    no this works, but when i make it higher it dosnt open
     
  14. Offline

    Sweatyzana

    anyone help
     
  15. And you're sure you've JAVA 64bit (not only 64bit platform) and maybe update your java might help
     
  16. Offline

    Sweatyzana

    Yes Im pretty sure I have 64 bit java, how do i check
     
  17. 1.Open CMD (Start -> Run -> CMD)
    2.type: java -version

    I am not sure if this works and shows the Essentials information on windows (if u have) but it does on Ubuntu
     
  18. Offline

    Corex

    java -version
     
  19. Offline

    Sweatyzana

    It says when i do that
    "java version "1.7.0.10"
    Java[TM] SE Runtime Enviroment (build 1.7.0_10-b18)
    Java Hotspot[TM] Client VM [Build 23.6-b04, mixed mode, sharing)
     
  20. Try: java -d64 -version,
    What it outputs then?

    ( as i see your version like you said, you probarly have 32bit java)
     
  21. Offline

    Sweatyzana

    Output is:
    "This java instace does not support a 64-bit JVM
    Please install the desired version.

    Im guessing this mean i havnt got it, how do i install it? can you link me?
     
  22. Just go to the java website or use google; "install java 64bit windows(?)"
     
  23. Offline

    Sweatyzana

    ok i downloaded it, now what
     
  24. Install... Then get the Full Path of that and change in your startup file ;
    Java
    To
    "your full path to the NEW java.exe"
    The senence above MUST be with quotes yes!
     
  25. Offline

    Sweatyzana

    Ok thanks i will do that tomorrow as i have to go now, but thanks for your help, appreciated if you can help me further tomorrow :)
     
  26. Okay, hope i don't forgot, if i do. Message/PM me
     
  27. Offline

    Sweatyzana

    How do I make my server run on the 64 bit java now?
     
  28. like i said,:
    get the Full Path of (the new java) that and change in your startup file ;
    Java
    To
    "your full path to the NEW java.exe"
    The senence above MUST be with quotes yes!

    so something like:;

    "C:\Program Files\java\[your version]\bin\java" -Xms1368M -Xmx1368M -jar craftbukkit.jar -o true
    PAUSE

    maybe its not exactly that but something simular to that,. i guess
     
  29. Offline

    Sweatyzana

    in the run.bat? and how do i find the path
     
  30. Look at the path i said, or goto C:\Program Files\Java and then choose your newest one
     
Thread Status:
Not open for further replies.

Share This Page