java.lang.OurOfMemoryError: Java heap space

Discussion in 'Bukkit Help' started by xxLunaxx, Jan 21, 2012.

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

    xxLunaxx

    So I made quite a few changes to my server earlier tonight, including adding 2 new worlds, getting rid of a world, and getting two more plugins. I tried to start the server, and this keeps showing up. Can someone please explain?
     
  2. Offline

    chaseoes Retired Staff

    And what keeps showing up? Please post the full error.

    It might be related to your new plugins, e.g. one could have a memory leak, or you might not be giving your server enough RAM.
     
  3. Offline

    xxLunaxx

    java.lang.OutOfMemoryError: Java heap space
    at net.minecraft.server.NBTTagByteArray.load(SourceFile:24)
    at net.minecraft.server.NBTBase.b(SourceFile:95)
    at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53)
    at net.minecraft.server.NBTBase.b(SourceFile:95)
    at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53)
    at net.minecraft.server.NBTBase.b(SourceFile:95)
    at net.minecraft.server.NBTCompressedStreamTools.a(SourceFile:75)
    at net.minecraft.server.ChunkRegionLoader.a(SourceFile:52)
    at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServ
    r.java:135)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderSer
    er.java:78)
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:585)
    at org.bukkit.Bukkit.createWorld(Bukkit.java:160)
    at org.bukkit.WorldCreator.createWorld(WorldCreator.java:213)
    at com.onarandombox.MultiverseCore.utils.WorldManager.addWorld(WorldMan
    ger.java:126)
    at com.onarandombox.MultiverseCore.utils.WorldManager.addWorld(WorldMan
    ger.java:84)
    at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorlds(WorldM
    nager.java:551)
    at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCo
    e.java:249)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoade
    .java:989)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManag
    r.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:17
    )
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    23:07:18 [INFO] [Multiverse-Portals] - Version 2.2-AB Enabled - By Rigby and fe
    nferret
    23:08:47 [INFO] Stopping server
    23:09:19 [SEVERE] Could not pass event PLUGIN_DISABLE to Vault
    java.lang.OutOfMemoryError: Java heap space
    >

    Here's just part of it for example.
     
  4. Offline

    Logan

    The 'new' world you added corrupted it. Multiverse is broken, try reinstalling & deleting the new world
     
  5. Offline

    chaseoes Retired Staff

    Yeah, Multiverse currently has a bug where it will corrupt your world when you make a new one.
     
    Logan likes this.
  6. Offline

    xxLunaxx

    Fixed, thank you.
     
  7. Offline

    18tygerw

    hi, I have the same Out Of Memory Java Heap Space message, and this is what it says:
    09:58:52 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    09:58:52 [SEVERE]at sun.security.pkcs11.wrapper.PKCS11.C_GetSlotInfo(Native Method)
    09:58:52 [SEVERE]at sun.security.pkcs11.SunPKCS11.initToken(SunPKCS11.java:767)
    09:58:52 [SEVERE]at sun.security.pkcs11.SunPKCS11.access$100(SunPKCS11.java:42)
    09:58:52 [SEVERE]at sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:700)
    09:58:52 [SEVERE]at java.lang.Thread.run(Thread.java:680)
    >
     
  8. Offline

    mrarroyo

    Maybe update java? Sun is a Java thing I think.
    This error happened to me but i just reset the server (I couldn't wait since it actually took 1 min for each plugin to disable so I forced quit) and I just ran it again then it was fine.
     
  9. Offline

    Technius

    That means you ran out of memory. Allocate more memory or upgrade your server.
     
  10. Offline

    yttriuszzerbus

    If it starts to happen suddenly for no apparent reason, it's likely an error in some code.
     
  11. Offline

    Technius

    It happened after he added some worlds. More world = more memory. Therefore, he ran out of memory.
     
  12. Offline

    gokumatt1

    i have a memory problem every time i am playing it says out of memory
    this is the errorlog

    Exception in thread "Thread-19" java.lang.OutOfMemoryError: Direct buffer memory
    at java.nio.Bits.reserveMemory(Unknown Source)
    at java.nio.DirectByteBuffer.<init>(Unknown Source)
    at java.nio.ByteBuffer.allocateDirect(Unknown Source)
    at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
    at paulscode.sound.libraries.ChannelLWJGLOpenAL.<init>(SourceFile:245)
    at paulscode.sound.libraries.LibraryLWJGLOpenAL.createChannel(SourceFile:299)
    at paulscode.sound.Library.init(SourceFile:253)
    at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(SourceFile:217)
    at paulscode.sound.SoundSystem.CommandNewLibrary(SourceFile:1489)
    at paulscode.sound.SoundSystem.CommandQueue(SourceFile:2362)
    at paulscode.sound.CommandThread.run(SourceFile:121)
     
Thread Status:
Not open for further replies.

Share This Page