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:
    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

    and yes i have 64bit

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

    ?

    anyone

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  6. Offline

    computerxpds

     
  7. Offline

    Sweatyzana

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

    Sweatyzana

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

    anyone help

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  10. And you're sure you've JAVA 64bit (not only 64bit platform) and maybe update your java might help
     
  11. Offline

    Sweatyzana

    Yes Im pretty sure I have 64 bit java, how do i check
     
  12. 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
     
  13. Offline

    Corex

    java -version
     
  14. 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)
     
  15. Try: java -d64 -version,
    What it outputs then?

    ( as i see your version like you said, you probarly have 32bit java)
     
  16. 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?
     
  17. Just go to the java website or use google; "install java 64bit windows(?)"
     
  18. Offline

    Sweatyzana

    ok i downloaded it, now what
     
  19. 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!
     
  20. 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 :)
     
  21. Okay, hope i don't forgot, if i do. Message/PM me
     
  22. Offline

    Sweatyzana

    How do I make my server run on the 64 bit java now?
     
  23. 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
     
  24. Offline

    Sweatyzana

    in the run.bat? and how do i find the path
     
  25. Look at the path i said, or goto C:\Program Files\Java and then choose your newest one
     
  26. Offline

    Sweatyzana

    I don't understand by "Path" and what im ment to do with it, where am I ment to put it?
     
  27. replace it with Java
     
Thread Status:
Not open for further replies.

Share This Page