Welcome to Acheron!


    SMP Lagg

    Share

    I_Prod_I
    SMP Staff
    SMP Staff

    Posts : 20
    Join date : 2010-12-14
    Age : 22
    Location : California, US

    SMP Lagg

    Post by I_Prod_I on Sun Jan 02, 2011 9:41 pm

    Alright Polak I think I know why it laggs. You don't have enough RAM for the server. When you start up the server, you probably only click Minecraft_Mod.jar. The solution to make a lot less lagg is really easy (easy enough I did it). You need to do this:

    1. Open up a new notepad file and type in:

    java -Xms2048M -Xmx2048M -jar Minecraft_Mod.jar

    That means that it will dedicate 2048MB of RAM to starting Minecraft_Mod.jar. You can obviously move that up and down to make it use lets say 1024MB of RAM. The common rule is 100MB of RAM per person and 200MB of RAM to start the server. that means that 2048MB of RAM (2GB) is enough to hold at most 18 players without lagg.

    2. Save the notepad file as: minecraft.bat

    3. Put minecraft.bat into the folder with Minecraft_Mod.jar

    4. Double click minecraft.bat and it will start the server


    That way you dedicate more RAM than the default which is 256MB RAM.

    I_Prod_I
    SMP Staff
    SMP Staff

    Posts : 20
    Join date : 2010-12-14
    Age : 22
    Location : California, US

    Re: SMP Lagg

    Post by I_Prod_I on Sun Jan 02, 2011 9:42 pm

    wow this makes me sound smart Smile

    Yobi45

    Posts : 4
    Join date : 2011-01-02

    Re: SMP Lagg

    Post by Yobi45 on Sun Jan 02, 2011 9:46 pm

    I think prod is right because right now we are having major text lag and block lag i think he has a good idea cat
    avatar
    AbsolutePolak
    Administrator
    Administrator

    Posts : 30
    Join date : 2010-12-13

    Re: SMP Lagg

    Post by AbsolutePolak on Sun Jan 02, 2011 10:01 pm

    prod i actually do use the server start.bat im not a dumbass. and also, i have 4gbs of ram, and i did try that incase you dont know, but it said not enough for some reason.

    Sponsored content

    Re: SMP Lagg

    Post by Sponsored content


      Current date/time is Thu Nov 23, 2017 4:09 am