RAM expansion

Discussion in 'Bukkit Help' started by Lazerkill, May 15, 2012.

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

    Lazerkill

    I have 16Gigs of RAM on my computer. Of those Gigs I want to allocate 14 to the server. To do this I have modified the .BAT file from "-Xmx1024M -Xms1024M" to "-Xmx14G -Xms14G". I run on 64bit Java7 and have written the file accordingly. The only issue is after all of this lag still persists. Have I done something wrong? Is there anywhere I can look within the server to verify if the it has actually accepted the changes and allocated more RAM?
     
  2. Offline

    BMX_ATVMAN14

    Id recommend just buying a server
    beastnode.com
    servercraft.co
    are really affordable ones
     
  3. Offline

    Jade

    Processor speed?
     
  4. Offline

    Lazerkill

    Processor specs: AMD Phenom(tm) II X4 955 Processor 3.20 GHz

    The Processor is doing just fine, no stress there. All I can imagine is that the allocation isn't working properly.

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

    Paul_VB

    try setting it to Xmx1024M -Xms14G
    java is very picky about ram usage. i dont fully understand it myself, but i KNOW that some java applications run better when they are using less ram.

    also, you dont need 14 GB of ram for a minecraft server. try just 12 and saving 4 GB for the OS
     
  6. Offline

    ashley

    try this :

    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
     
  7. Offline

    Lazerkill

    Neither of those seemed to work. On Paul's it just told me "incompatible heap sizes". On Ashley's it just said "unrecognizable operation".
     
  8. Offline

    ashley

    what java version do oyu use?
    and what is the version of you're pc ? 32bit or 64 bit?
     
  9. Offline

    Paul_VB

    oh oops, i reversed the min and max sizes

    Xms1024M -Xmx12G should work
     
  10. Offline

    tyzoid

    It's probably not a ram problem, it could be disk usage, or even network latency.

    What does speedtest.net say about your internet?
     
  11. Offline

    number1_Master

    Yes speedtest.net is a big thing. I heard you need around 30mps download speed for 30 players and up. Upload speed is a HUGE thing. The larger it is, the better it is.
     
  12. Offline

    tyzoid

    Not quite that high,

    I would recommend ~1mbps upload for every 4-6 players. (if your internet runs at max. capacity)
     
  13. Offline

    number1_Master

    That is why I said 30 mbps for 30 players and up!
     
  14. Offline

    tyzoid

    30mbps upload should be good for~120 players

    At any rate, ram and processer alone are not enough to successfully run a server.
     
    nunber1_Master likes this.
  15. Offline

    Lazerkill

    http://www.speedtest.net/result/1959045056.png
    Well, If what you all said is correct I should be running the current 8 people quite nicely.
    Also, Paul, I am currently running that config in the .BAT. I will report back how it works
     
Thread Status:
Not open for further replies.

Share This Page