Server crashing

Discussion in 'Bukkit Help' started by Luwiego, Jul 5, 2011.

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

    Luwiego

    My server started crashing after the CB 953 :(
    I get this error:

    Code:
    17:33:06 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    17:33:07 [SEVERE]       at net.minecraft.server.NBTTagByteArray.a(SourceFile:21)
    
    17:33:07 [SEVERE]       at net.minecraft.server.NBTBase.b(SourceFile:64)
    >plugman vlisttt
    17:33:07 [SEVERE]       at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
    17:33:09 [SEVERE]       at net.minecraft.server.NBTBase.b(SourceFile:64)
    17:33:09 [SEVERE]       at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
    17:33:09 [SEVERE]       at net.minecraft.server.NBTBase.b(SourceFile:64)
    17:33:09 [SEVERE]       at net.minecraft.server.CompressedStreamTools.a(SourceFi
    le:46)
    17:33:09 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:2
    9)
    17:33:09 [SEVERE]       at net.minecraft.server.ChunkProviderServer.loadChunk(Ch
    unkProviderServer.java:136)
    17:33:09 [SEVERE]       at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:65)
    17:33:09 [SEVERE]       at net.minecraft.server.PlayerInstance.<init>(PlayerInst
    ance.java:31)
    17:33:11 [SEVERE]       at net.minecraft.server.PlayerManager.a(PlayerManager.ja
    va:45)
    17:33:11 [SEVERE]       at net.minecraft.server.PlayerManager.addPlayer(PlayerMa
    nager.java:84)
    17:33:11 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.c(Ser
    verConfigurationManager.java:134)
    17:33:11 [SEVERE]       at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:97)
    17:33:11 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:74)
    17:33:13 [SEVERE]       at net.minecraft.server.Packet1Login.a(SourceFile:43)
    17:33:13 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    17:33:13 [SEVERE]       at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:40)
    17:33:13 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :91)
    17:33:13 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:451)
    17:33:15 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    17:33:15 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    17:33:15 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at net.minecraft.server.NBTTagByteArray.a(SourceFile:21)
            at net.minecraft.server.NBTBase.b(SourceFile:64)
            at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
            at net.minecraft.server.NBTBase.b(SourceFile:64)
            at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
            at net.minecraft.server.NBTBase.b(SourceFile:64)
            at net.minecraft.server.CompressedStreamTools.a(SourceFile:46)
            at net.minecraft.server.ChunkRegionLoader.a(SourceFile:29)
            at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServe
    r.java:136)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServ
    er.java:65)
            at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
            at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
            at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:84)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:134)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >stop
    17:33:40 [INFO] Stopping server
    17:33:51 [SEVERE] java.net.SocketException: Connection reset by peer: socket wri
    te error
    >
    17:33:43 [INFO] Connection reset
    17:34:11 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Metho
    d)
    17:34:09 [INFO] [AuthMe] The plugin was unloaded!
    17:34:18 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    17:34:22 [INFO] [AutoMessage] version [1.5] disabled
    17:34:30 [SEVERE] Exception in thread "Listen thread"
    17:34:42 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    17:34:47 [SEVERE]       at java.io.BufferedOutputStream.<init>(Unknown Source)
    17:34:47 [SEVERE]       at net.minecraft.server.NetworkManager.<init>(NetworkMan
    ager.java:56)
    17:34:52 [SEVERE]       at net.minecraft.server.NetLoginHandler.<init>(NetLoginH
    andler.java:21)
    17:34:54 [SEVERE]       at net.minecraft.server.NetworkAcceptThread.run(SourceFi
    le:53)
     
  2. Offline

    zipfe

    Hm... what could it mean?
     
  3. Offline

    TnT

    What command are you using to start your server? How many plugins are you running? What's your Java version?
     
  4. Offline

    Luwiego

    I am using this
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    to create the run.bat file. The thing is everything was good until the 953 build, none of the plugins have changed, so i dont think its plugin fault.Java version:Version 6 Update 26. Im using 28 plugins. Can there be something that plugins are not up to date and they use more memory ?


    Please someone help i need to fix this !

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

    MoW92

    Hi,
    I suffer from the same problem
    Code:
    2011-07-06 08:39:15 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTTagByteArray.a(SourceFile:21)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTBase.b(SourceFile:64)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTBase.b(SourceFile:64)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.NBTBase.b(SourceFile:64)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.CompressedStreamTools.a(SourceFile:46)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.ChunkRegionLoader.a(SourceFile:29)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:136)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:65)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:84)
    2011-07-06 08:39:18 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerConfigurationManager.java:267)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:297)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:243)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-06 08:39:20 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-06 08:39:21 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-06 08:39:21 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 08:39:21 [SEVERE] Exception in thread "Connection #12 read thread"
    2011-07-06 08:39:23 [INFO] Stopping server
    2011-07-06 08:39:23 [SEVERE] java.lang.OutOfMemoryError: GC overhead limit exceeded
    2011-07-06 08:39:25 [SEVERE]     at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)
    2011-07-06 08:39:25 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2011-07-06 08:39:25 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    2011-07-06 08:39:25 [SEVERE]     at java.lang.Class.newInstance0(Class.java:355)
    2011-07-06 08:39:25 [SEVERE]     at java.lang.Class.newInstance(Class.java:308)
    2011-07-06 08:39:25 [SEVERE]     at net.minecraft.server.Packet.a(Packet.java:47)
    
    I have already tried to run Bukkit using 1,5 GB of RAM but that didnĀ“t solve the problem.
    The Errors diversify but the always contain a " java.lang.OutOfMemoryError: Java heap space" .
    Before upgrading to 1.7 I never hab such Errors . Would be nice if somebody can give me an advice.
     
  6. Offline

    vogt31337

    I got the same error. Running Bukkit: 1000 Server: 1.7.3
    Plugins: Scroll of Random Uselessness, CookieMonster, SaddleBack, Gold2iConomy, iConomy, LWC, XcraftGate, GravelClay, Money2XP, creaturebox, Permissions, HigherExplosives, BigCatch, mcMMO, Showcase, MobArena

    Just before the crash, my server got real laggy (cpu load 150%), no error message except: "Can't keep up! ..."
    I think it's somekind of bufferoverflow or so.
     
Thread Status:
Not open for further replies.

Share This Page