OutofMemoryError

Discussion in 'Bukkit Help' started by SirMustachio, Mar 3, 2011.

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

    SirMustachio

    I've been having serious issues with my server. There's no lag, but every time more than one or two people try to play on the server, eventually this error is thrown and the server crashes:
    Code:
    2011-03-03 18:11:39 [SEVERE] java.lang.OutOfMemoryError
    2011-03-03 18:11:39 [SEVERE]     at java.util.zip.Deflater.init(Native Method)
    2011-03-03 18:11:39 [SEVERE]     at java.util.zip.Deflater.<init>(Deflater.java:124)
    2011-03-03 18:11:39 [SEVERE]     at java.util.zip.GZIPOutputStream.<init>(GZIPOutputStream.java:46)
    2011-03-03 18:11:39 [SEVERE]     at java.util.zip.GZIPOutputStream.<init>(GZIPOutputStream.java:58)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.CompressedStreamTools.a(SourceFile:17)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.PlayerNBTManager.a(SourceFile:149)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:473)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.MinecraftServer.g(MinecraftServer.java:226)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:296)
    2011-03-03 18:11:39 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    I wouldn't really care, but it's annoying and it's causing inventory rollbacks. This is my server information:

    Centos x86 (1 GB RAM Dedicated Server)
    Java version "1.6.0_24"
    Running RemoteToolkit R10 a8.23
    Craftbukkit Build 447
    Server run command:
    Code:
    java -Xms654M -Xmx654M -Xincgc -jar craftbukkit.jar nogui
    Plugin List (open)
    AutoSave v1.0.3
    BorderGuard Lite 2.1 (Round)
    Extend Day v1.3102092011
    GroupManager v0.99d
    Lockette v1.22
    MultipleHomes v0.4
    Plugman v1.2.2
    PvP Control v1.4
    SafeKaboom v1.0
    SimpleColours v1.01
    SimpleWarp v1.62
    Spawnr v1.3
    Uptime v0.4b
    vPlayersOneline v1.5

    I've tried allocating more RAM to the process (changing -Xmx), but that gave me an error about not being able to create the heap. I've tried periodic server restarts with RemoteToolkit, but that didn't really work either, and it seemed like more of a bandaid to me.

    Any insight into this issue would be greatly appreciated, I hope I didn't leave anything out above.
     
  2. Offline

    Plague

    1GB ram is too little
     
  3. Offline

    SirMustachio

    Even to run a server who's max traffic at one time is ~0-3 people?
     
  4. Offline

    Plague

    Not a vanilla server but you have wuite a few plugins and some of them are a little complex afaik.
     
  5. Offline

    Melon

    I get the same issue and I have basically the same spec server and yet it happens with NO plugins whatsoever, and it never crashed at all prior to 1.3.
     
  6. Offline

    TnT

    Does it happen running the vanilla MC server?
     
  7. Offline

    Melon

    Mine did yes, and I realise that means its not a Bukkit issue/shouldn't be posted here perhaps but I was posting in support of SirMustachio, as I feel that the lack of ram isn't the cause of this problem.
     
  8. Offline

    SirMustachio

    I'm currently trying out vanilla on my server, it doesn't appear to be get an OutofMemoryError, but I'm having a host of other problems with it.....
     
Thread Status:
Not open for further replies.

Share This Page