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


    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


    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


    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(
    at net.minecraft.server.NBTBase.b(SourceFile:95)
    at net.minecraft.server.NBTTagCompound.load(
    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
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderSer
    at org.bukkit.craftbukkit.CraftServer.createWorld(
    at org.bukkit.Bukkit.createWorld(
    at org.bukkit.WorldCreator.createWorld(
    at com.onarandombox.MultiverseCore.utils.WorldManager.addWorld(WorldMan
    at com.onarandombox.MultiverseCore.utils.WorldManager.addWorld(WorldMan
    at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorlds(WorldM
    at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCo
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManag
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
    23:07:18 [INFO] [Multiverse-Portals] - Version 2.2-AB Enabled - By Rigby and fe
    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


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


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


    Fixed, thank you.
  7. Offline


    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 Method)
    09:58:52 [SEVERE]at
    09:58:52 [SEVERE]at$100(
    09:58:52 [SEVERE]at$
    09:58:52 [SEVERE]at
  8. Offline


    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


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


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


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


    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(
    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)
Thread Status:
Not open for further replies.

Share This Page