Java heap space error, Sudden server shut down, help!

Discussion in 'Bukkit Help' started by ShockStar, May 12, 2012.

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

    ShockStar

    1. So I am getting this thing for last 4 days, simply it just shuts down server and console lag in. Sometimes it stops server, sometimes I just have to close it and that does some random water or air lines anywhere.

      It show sme this:
      java.lang.OutOfMemoryError: Java heap space
      and some other things after it, sometimes like 20 lines, sometimes 3.

      My setup: Win 7 64bit, java is 64 bit as well.
      4GB of Ram, have done Xmx-2048
      i7 proccessor with 3.40GHz
      Server is running on my HDD, half of 1TB space is free.
      I will ran server later on SSD, I even tried for some time now, but I get same thing.
      Not sure if video card makes anything in this thing, but it is Ati HD6950

      Plugins:
      AutoAnnouncer
      Citizens
      CraftBukkitUpToDate
      Essentials
      Factions
      GuestGuard
      LWC
      Minebackup
      Multiverse core/portals
      NoLagg
      WeatherMan
      VoxelSniper
      WorldEdit
      BkCommonLib
      SetRankPEX

      I will update my RAM to 8/16GB and add another SSD soon, second is for my personal minecraft, but 4GB isn't enough to handle 3 people? Im gonna hold up to 50 later, but this is only while I configure everything.​

    2. 1. What OS are you using (Brand and version - Ex. Windows XP SP3)? Win7 SP1​
      2. What architecture is the OS you are running (x64 or x86)? x86​
      3. What version and architecture is your java install? (Type: java -version in command prompt.)​
      If you run any GNU/Linux, run this command to get all. x64​
      4. Are you running any wrappers? McMyAdmin, mcadmin, Hamachi, etc? Gonna run McmyAdmin, but not yet on server, so could'nt be anything about it. Nothing else.
      5. What build of CraftBukkit are you running? (do NOT say latest. Say the build number.)
      The build number is displayed in the top of the server.log.
      1.2.5-R1.0 (Build #02149)
      6. What command are you using to run your CraftBukkit server? For the first I of course open RUN.bat (probably didn't get this too.)
      7. What plugins are you running? Listed up.
      8. What error are you getting (post your server.log file)? That's big one, I better upload it, more then 500 lines, probably same issue.
      9. What have you tried already? Update drivers, server plugins.​
      I could'nt post server.log here, so please download this: http://www.gamefront.com/files/21688957/server.log
     
  2. Offline

    ShockStar

    Is there really no explanation for this issue?
     
  3. Offline

    Sayshal

    Ask your host.
     
  4. Offline

    Wendo

    While your computer has 4GB, you're only giving 2GB to Java.

    Since you're also running a 32bit OS your system can only really use 4GB total anyway, so adding more RAM won't really buy you anything. Given how Windows splits it's kernel and userspace in memory java probably can't use much more than 2GB no matter what you do either.

    The solution, is to install a 64bit OS and allocate more than 2GB of memory to Java, possibly including adding more memory but only after you're running a 64 bit OS

    Adding another SSD won't help.
     
  5. Offline

    ShockStar

    Did I say I have 32bit OS? I have 64... And SSD wasn't about this at all, just mentioned.

    And if I would locate all Ram to server, my personal playing wouldn't be playable at all, wouldn't it lag?

    Troll or what? Console and server files are only available for myself

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

    Wendo

    Yes, you said you had a 32bit machine, question two, x86 or x64. You answered x86, thats 32bit, x64 is 64bit.

    Your log is showing an out of memory error. Since you have 64bit, adding more memory and allocating it to the server should resolve the problem. Obviously you'd have to find a balance between the server. If you use too much of your system RAM for the server then yes, there won't be enough for the client.
     
  7. Offline

    ShockStar

    Ok, that was mistake, sorry about that answer and thanks for your help, hope it will resolve the problem, gonna have 6GB on server 2GB everything else.
     
Thread Status:
Not open for further replies.

Share This Page