[MUST READ] no lag on ur bukkit server mod or mc launchers

Discussion in 'Bukkit Help' started by FlameHead269, Jan 16, 2011.

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

    FlameHead269

    Guys, this is how to make ur bukkit mod nooooo lag!!!

    Code:
    wget http://artifacts.lukegb.com/artifactory/plugins-snapshot/org/bukkit/craftbukkit/0.0.1-SNAPSHOT/craftbukkit-0.0.1-SNAPSHOT.jar
    
    mv craftbukkit-0.0.1-SNAPSHOT.jar craftbukkit.jar
    
    java -Xms2600M -Xmx2600M -jar craftbukkit.jar nogui
    
    

    Ok, run this in the same directory as the CraftBukkit.jar :]

    This is for users with 4GB of RAM ONLY!!!


    Guys, I have discovered the way to make your server noooooo lag and even ur launcher but please be warned that you have to do this correctly(according to amount of RAM 1000MB memory = 1GB of memory default code is 1000M so)
    For users with 1GB ram/memory
    Linux Minecraft Launcher:

    Code: Select all
    java -Xmx700M -Xms700M -cp Minecraft.jar net.minecraft.LauncherFrame
    to use this make a executable .sh file and run this in the same directory as ur minecraft.jar file (MC launcher)

    Windows Minecraft Launcher:

    Code: Select all
    @Echo off java -Xmx700M -Xms700M -cp Minecraft.jar net.minecraft.LauncherFrame
    Open up notepad and save-as a .bat(EX. MClauncher.bat)

    For users with 4GB of memory/ram
    Linux Minecraft Launcher:

    Code: Select all
    java -Xmx2600M -Xms2600M -cp Minecraft.jar net.minecraft.LauncherFrame
    to use this make a executable .sh file and run in the same directory as the minecraft.jar fille (MC Launcher)

    Windows Minecraft Launcher:

    Code: Select all
    @Echo off java -Xmx2600M -Xms2600M -cp Minecraft.jar net.minecraft.LauncherFrame
    Open up notepad and save-as a .bat(EX. MClauncher.bat)

    So as you all can see at least make sure you use up 75% of memory(IF UR NOT RUNNING A SERVER OR ANY MAJOR MEMORY USERS ON TOP OF IT)
    This will minimize lag and also u may do this with any SMP mod just make sure u can calulate 1000M = 1GB of ur RAM so 2000M = 2GB of RAM 2600M= 2.6GB of RAM so make sure in all that u have 23% left for MISC things on ur pc!
    this method allows MC to use more memory! This may be unstable unless u know wat ur doing! So, if u dont understand this plz dont it or ull screw urself [​IMG]

    for ppl that do I hope i helped!!

    For pplz using windows that mihgt be the wrong code but if it worked then i hope helped

    -FlameHead269
    [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
     
  2. Offline

    Pencil

    Lol are you serious about that :confused: You mean you FOUND a WAY to get rid of all the lag? Lmao welcome to the internwebs. Most lag does not come from not allocating enough ram, lag comes from: Low hardisk speed due to hosts overselling theire product (most common one) Too many people for too few ram, people overstressing theire ram by using the burstable ram, and many many more. Besides, using x64 you can use even more ram for minecraft, 2.6GB is a bit few for a 4/6 GB server don't you think?
     
  3. Offline

    FlameHead269

    noo its not all of the lag
    for pplz running at 100MBPS this helps a lot for bukkit servers
    --- merged: Jan 17, 2011 2:48 AM ---
    its just a simple method
    --- merged: Jan 17, 2011 2:49 AM ---
    i know exactly wat ur talking about too but yeah this is most affactive for Linux
    --- merged: Jan 17, 2011 2:58 AM ---
    And plus i know all of this but i didnt go into detail because itd bee wayyyy to long but for pplz in my position this works effctively because everyone on my server says it rlllllyyyy worked!!

    People on different internet,platforms,and computers results may vary
     
Thread Status:
Not open for further replies.

Share This Page