Having a spam issue of -"Can't keep up" messege

Discussion in 'Bukkit Help' started by MC-MC, Aug 7, 2012.

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

    MC-MC

    Ive noticed with all the development versions and now the recommended, I get the message in my server cmd, " Can't keep up! Did the system time change or is the server overloaded" message every minute. It seems to be kinda laggy since 1.2.5. I'm using 5 gigs for my server so I know its ok and the same amount of people have been getting on. Nothing has changed since 1.2.5 as far as small variables go. Has anyone else had this problem with new 1.3.1 ?

    also, How do i know how much ram is really being used? the way i start up is with a .jar file that looks like this, am I properly placing the amount of ram dedicated to the server?
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx5G -jar craftbukkit-1.3.1-R1.0.jar
    PAUSE
    From what i put here, my intention was to use 5 gigs. Is that right the way i put it?

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

    DJ PonyWub

    you need to put it in mb so if you want 5 gigs... try this -Xmx5120M -Xms5120M
     
  3. Offline

    MC-MC

    Which one of those -Xmx5120M or -Xms5120M or both? and where in that code would i put it?
     
  4. Offline

    Xmillsa

    These may not be the exact technical terms but...
    -Xms is the minimum it will use.
    -Xmx is the maximum it will use.

    You'd usually use both, but it's optional. (but they default to some small value)

    For my server I've always used -Xms512M and -Xmx8G with no issues.
    and yes you can use G for gigabytes.

    The only way I know to tell how much ram is being used, is to use a task or system monitor.

    EDIT: Bit of info on -xmx and -xms: http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings
     
  5. Offline

    MC-MC

    dude badass reply thx so much!!!! can you post your exact code for your run file ( i mean the file you use to start server lol in latent terms
     
Thread Status:
Not open for further replies.

Share This Page