Out of Memory Error

Discussion in 'Bukkit Help' started by Dr.Akula, Oct 21, 2012.

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

    Dr.Akula

    Hey Guys,
    Today I want to reload my server.
    I typ "reload" and then this appeared this"
    2012-10-21 22:07:55 [INFO] [WorldEdit] Enabling WorldEdit v5.4.2
    2012-10-21 22:07:58 [SEVERE] Error occurred while enabling WorldEdit v5.4.2 (Is it up to date?)
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:238)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:40)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sk89q.wepif.PermissionsResolverManager.<init>(PermissionsResolverManager.java:89)
    at com.sk89q.wepif.PermissionsResolverManager.initialize(PermissionsResolverManager.java:68)
    at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:91)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:578)
    at org.bukkit.Bukkit.reload(Bukkit.java:183)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:494)
    at net.minecraft.server.DedicatedServer.ai(DedicatedServer.java:249)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:214)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    2012-10-21 22:07:58 [INFO] [CommandBook] Enabling CommandBook v2.1
    2012-10-21 22:08:00 [SEVERE] Error occurred while enabling CommandBook v2.1 (Is it up to date?)
    java.lang.OutOfMemoryError: PermGen space
    at com.sk89q.commandbook.CommandBook.populateConfiguration(CommandBook.java:208)
    at com.zachsthings.libcomponents.bukkit.BasePlugin.loadConfiguration(BasePlugin.java:106)
    at com.zachsthings.libcomponents.bukkit.BasePlugin.onEnable(BasePlugin.java:70)
    at com.sk89q.commandbook.CommandBook.onEnable(CommandBook.java:96)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:578)
    at org.bukkit.Bukkit.reload(Bukkit.java:183)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:494)
    at net.minecraft.server.DedicatedServer.ai(DedicatedServer.java:249)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:214)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    2012-10-21 22:08:00 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.3
    2012-10-21 22:08:02 [SEVERE] Error occurred while enabling PermissionsEx v1.19.3 (Is it up to date?)
    java.lang.OutOfMemoryError: PermGen space
    2012-10-21 22:08:02 [INFO] [Vault][Permission] PermissionsEx hooked.
    2012-10-21 22:08:02 [INFO] [Vault][Chat] PermissionsEx_Chat hooked.
    2012-10-21 22:08:02 [INFO] [SimpleHelpTickets] Enabling SimpleHelpTickets v0.9
    2012-10-21 22:08:02 [INFO] [SimpleHelpTickets] 0.9 enabled.
    2012-10-21 22:08:05 [SEVERE] Error occurred while enabling SimpleHelpTickets v0.9 (Is it up to date?)
    java.lang.OutOfMemoryError: PermGen space
    2012-10-21 22:08:05 [INFO] [LogBlock] Enabling LogBlock v1.60
    2012-10-21 22:08:08 [SEVERE] Error occurred while enabling LogBlock v1.60 (Is it up to date?)
    java.lang.OutOfMemoryError: PermGen space".

    Then some building disappeared.

    Whats the Problem?

    Greetz
     
  2. Offline

    Captsina

    Whenever I reload my server I run into some glitches. Always save the server than just type /stop.
     
  3. Offline

    OstlerDev

    This error usually occurs when your server runs out of memory, you should allocate some more ram, or get a better server.
     
    MysteryManX likes this.
  4. Offline

    TNTUP

    Using /reload command isn't recommended. Try giving more memory on your server.

    My advice is to restart server by closing the console, then reopen the server.
     
  5. Offline

    pchard

    I have the exact same problem.. and it can also occur out of the blue.

    My server has currently 14GB of RAM (with 2GB extra ram that's not allocated for anything).

    so, it's not RAM related.
     
  6. Offline

    kayng

    I am having the same problem, it this weird how my server eats so much memory when I only have 3 players online, anyone have any idea?
     
  7. Offline

    lokpique

    It's better to type /stop into the console instead of just closing the console... otherwise you will lose any information it hasn't saved yet.
     
  8. Offline

    ChickenTunAa

    When I open up my server, it loads everything the way it's supposed to, then it says Done. But then I can't type into the command prompt anymore and suddenly this thing popped out. It said bla bla bla OutOfMemory blablablablabla... And it also said the same thing on the forum! I tried it many times and it still happens :( I can't do /stop or /reload cuz it won't let me type. Please help I've had my server good for about two months and this suddenly happened.
     
  9. Offline

    45zeldafan

    Hmm Out of memory error. I wonder if that means I should add more memory to my server.
     
  10. Offline

    Paswaru

    Java creates different pools of memory. The original OP from Oct 2012 was running out of permanent generation space (-XX:MaxPermSize). Without the actual error message so we know what type of memory you are running out of, we won't be able to help you troubleshoot it. Other useful information is a list of plugins, physical memory the computer has, your command line to start java.
     
  11. Offline

    ChickenTunAa

    Thanks, but all i had to do was edit the text to 1042m lol. I was oo dumb it just needed more ram or memory
     
  12. Offline

    Lildirt

    I heard if you have ProtocolLib (well, a certain version of it) it can cause this issue. Try updating it if you have it.
     
Thread Status:
Not open for further replies.

Share This Page