How do I allocate more RAM/Server lag? (Please help!)

Discussion in 'Bukkit Help' started by XxGamerzTagzxX, Jul 6, 2012.

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

    XxGamerzTagzxX

    I recently started a server. My first attempt was very laggy and now I re-hosted the server and installed CLagg. It reduces lag for me but not for others, I suppose I need to allocate more ram?

    Here's my computer spec:

    Processor: Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz
    2.20 GHz

    Installed memory (RAM): 4.00GB (3.84 GB usable)

    System type: 64-bit Operating System
    ===============================
    Here's the script I have for the RUN.bat:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2000M -Xms2000M -jar craftbukkit-1.2.5-R4.0.jar
    PAUSE
    ===============================

    I'm assuming I need to add more RAM. How do I do that?

    Help please!
     
  2. Offline

    Omnitv

    Insert any number from the XmX_____M - Xms____M
    from below
    PHP:
    512 512MB
    1024 
    1GB
    1536 
    1.5GB
    2560 
    2.5GB
    3072 
    3GB
    5120 
    5GB
     
  3. Offline

    XxGamerzTagzxX

    Thank you also, would 3GB be fine?
     
  4. Offline

    cray_Z

    You could also do this:

    Replace the 3 with the amount of RAM you want (in Gigabytes)

    Code:
    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx3G -Xms3G -jar craftbukkit-1.2.5-R4.0.jar
    PAUSE
    
    Not that it matters...
     
  5. Offline

    XxGamerzTagzxX

    I see although, would 3GB run the server smoothly? Or atleast with little lag?
     
  6. Offline

    Omnitv

    I would not suggest it IF you are playing minecraft/programs while the server is on.
    IF it is s dedicated computer then yes go ahead.
     
  7. Offline

    cray_Z

    Well, if your computer only has 4 GB, you would be max-ing out the RAM on your computer. (Assuming you're running minecraft at the same time)

    What type of server are you looking to run? One for you and your friend? Or A public server?
     
  8. Offline

    XxGamerzTagzxX

    Public

    But it's alright IF I'm only playing minecraft?
     
  9. Offline

    Omnitv

    Yeah, just use this then if you are playing Minecraft on the same computer your servicing on.
    PHP:
    1536 1.5GB
    PHP:
    Echo OFF
    SET BINDIR
    =%~dp0
    CD 
    /"%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" 
    -Xmx1G -Xms1G -jar craftbukkit-1.2.5-R4.0.jar
    PAUSE
    OR

    PHP:
    @ECHO OFF
    SET BINDIR
    =%~dp0
    CD 
    /"%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" 
    -Xmx1536M -Xms1536M -jar craftbukkit.jar
    PAUSE
     
  10. Offline

    XxGamerzTagzxX

    Servicing as in running the server?
     
  11. Offline

    Omnitv

    Yeah.
     
  12. Offline

    BMX_ATVMAN14

    Rent a cheap server... Are you on a desktop or laptop
    Also to the lag go here and tell us your up and down results
     
  13. Offline

    XxGamerzTagzxX

    Laptop at the moment, since I tend to move often.

    Ping: 75ms
    Download: 0.49
    Upload:0.10

    Also, I can't rent a server. As 5.00(More or less) a month is quite expensive in where I am.

    I'll test it again tomorrow, the router isn't very close to my comp. I also don't have the high-speed. :|
     
  14. Offline

    Omnitv


    PHP:
    Ping75ms
    Download
    0.49
    Upload
    :0.10
    Is that in kb/s or mb/s

    Woah, Lag! I would not recommend starting a public server with that up and down. upgrade your internet speed buy contacting your internet service provider. then you can make a server. Otherwise your players will have ALOT of lag.
     
  15. Offline

    XxGamerzTagzxX

    Alright thanks
    Alright, although it works smooth when vanilla or little plugins. :p
     
  16. Offline

    Omnitv

    It wont work smooth, when your server is over ten players. but ok. cool.
     
  17. Offline

    Sadistik20

    So my computer has 4gb of ram installed but i still have xp on it so it can only recognize 3gb. I tried to change my server to run on 2gb and it told me there isn't enough space, it also told the that when i changed it to 1.5gb. It runs when i have it set at 1gb. Anyone know why it would do that?
     
Thread Status:
Not open for further replies.

Share This Page