Server Can't Keep Up Issue, But More!

Discussion in 'Bukkit Help' started by auntjemima1, May 16, 2012.

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

    auntjemima1

    ok so i have bukkit i got it off an auto installer. in order to change the amount of ram i need to right click the icon and click edit. so i do that and this shows up

    Echo OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" java -Xms4096M -Xmx4096M -jar "%~dp0craftbukkit.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx4096M -jar "%~dp0craftbukkit.jar"


    so the 4096's i put in. how do i configure that exact file to get 4 gigs of ram, because this keeps happening in my server:

    http://pastebin.com/cFtGUjhk

    a ton of cant keep up messages, but i typed /ram and it says im using like 3000 some mb, so how come it keeps sayin it cant keep up. i just gotta new map
     
  2. Offline

    ashley

    use this one BUT adjust the ram values
    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -server -Xmn4G -Xms8G -Xmx16G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:parallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar
    PAUSE
     
  3. Offline

    ZeroZX4

  4. Offline

    auntjemima1

    ashley
    i tried that and unfortunatley this came up in the log

    Unrecognized option: -XXarallel1GCThreads=5
    Error: Could not create the Java Virrtual Machine
    Error: A fatal exception has occured. Program will exit
    Press any key to continue . . .

    what should i do?? please help ash
     
  5. Offline

    ashley

  6. Offline

    Paswaru

    Code:
    -XXarallel1GCThreads=5 should be -XX:ParallelGCThreads=5
     
  7. Offline

    auntjemima1

    Paswaru
    that was just the error code, not the actual code causing the error. the code u gave me, do i put it in the RAM file thing, or r u saying i typed wrong cuz i didnt.

    ashley
    no 64-bit i have a 64-bit laptop
     
  8. Offline

    Paswaru

    The error looks as if it was typed/pasted wrong into the batch file. I figured because the forum made the : and P into a smiley face in ashley's post, you may have just copied and pasted into your batch file. This would have left the : and P out leading to the error.
     
  9. Offline

    auntjemima1

    Paswaru
    OH! OKAY THANKS!!!!! it works liek the server, but im wondering when ashley said to change the RAM values what should i change them to with a 64-bit 8gig laptop. i want like 4-5 gigs on the server, and i changed all the values to 4, but that didnt work, like it wouldnt start, then i change it to 2,4,6, and taht worked, but how do i know if i have 4 gigs on it. how can i get 4 gigs for sure?
     
  10. Offline

    MegaNarwhal

    This is a bit off-topic, but in case you didn't know you can turn off those annoying "Can't keep up" messages in the configuration. :) They drove me crazy lol
     
  11. Offline

    Paswaru


    -Xms4G will set the inital heap memory to 4GB.
    -Xmx5G will set the max heap memory to 5GB.

    Keep in mind Java will use a some memory beyond heap memory, but heap memory is where most of everything goes. So with -Xms4GB, you will for sure have 4GB of memory allocated to the server.
     
  12. Offline

    auntjemima1

    Paswaru
    u have been a tremendous help, if u wanna get on the server its 75.185.19.160 OR 184.57.32.35 save BOTH!
    i can promote u to builder if u join

    MegaNarwhal
    Really,? i will check in on that!

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

    auntjemima1

    http://pastebin.com/Vt541F0B

    in case any of you are wondering, this is what i use to run my server iwth 15 people max and never get cant keep up issue unless doing WorldEdit
     
  14. Offline

    chenr1

    Drove Me crazy too. So I disbled the messages.
     
Thread Status:
Not open for further replies.

Share This Page