java.lang.OutOfMemoryError

Discussion in 'Bukkit Help' started by Joxiscraft, May 19, 2012.

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

    Joxiscraft

    This error appears very random. When I run my server (craftbukkit 1.2.5-R1.0) without plugins I don't get this error. But when I run my server and add plugins one by one the error comes with every plugin. (sometime it comes when I only have 3 plugins on it... sometimes with 20 plugins without those 3)

    I have a server from enchantedhosting. There they also don't know what's causing the error and how to fix it. I have 1.5GB RAM and 24 plugins: Orebfuscator, WorldBorder, GroupManager, WorldEdit, NoCheatPlus, Permissions, Vault, TimedMessages, LWC, mcMMO, TreeAssist, WorldGuard, Essentials, EssentialsProtect, SimpleSignEdit, CreativeControl, EssentialsSpawn, HawkEye, Scavenger, BetterShop, ChestShop, EssentialsChat, RegionSelfService, Factions

    I tested all my plugins and it's just the server in combination with a plugin wich causes the error.

    This is the error:
    16.05 17:40:08 [Server] SEVERE at java.lang.Thread.run(Thread.java:679)
    16.05 17:40:08 [Server] SEVERE at org.bukkit.craftbukkit.scheduler.CraftScheduler.run(CraftScheduler.java:61)
    16.05 17:40:08 [Server] SEVERE at org.bukkit.craftbukkit.scheduler.CraftScheduler.processTask(CraftScheduler.java:104)
    16.05 17:40:08 [Server] SEVERE at org.bukkit.craftbukkit.scheduler.CraftThreadManager.executeTask(CraftThreadManager.java:14)
    16.05 17:40:08 [Server] SEVERE at org.bukkit.craftbukkit.scheduler.CraftWorker.<init>(CraftWorker.java:28)
    16.05 17:40:08 [Server] SEVERE at java.lang.Thread.start(Thread.java:657)
    16.05 17:40:08 [Server] SEVERE at java.lang.Thread.start0(Native Method)
    16.05 17:40:08 [Server] SEVERE java.lang.OutOfMemoryError: unable to create new native thread
    16.05 17:40:08 [Server] SEVERE Exception in thread "Thread-4"

    log: http://pastebin.com/FuJYyCU0

    At enchantedhosting they say I have enough memory.

    I have been looking on the internet for a long time and I haven't found a way to fix this.

    Please help me!

    EDIT: I upgraded the server to 2GB RAM and now I get almost the same error. Now it says thread 5 instead of thread 4...

    How can I fix this memory leak?

    Please help me

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

    nagihodheer

    try remove
    - Orebfuscator



    can you edit run.bat file ?
     
  3. Offline

    Joxiscraft

    I will try to remove Orebfuscator and no I can't but I can aks the hosting company... They are very friendly.

    I will wait and see if the error comes again without orebfuscator.

    I still have the error :(

    This is the server log
    http://pastebin.com/FuJYyCU0

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

    nagihodheer

    they said you have enough memory

    but java.lang.OutOfMemoryError still happen

    i don't know why

    1.2.5 R2.0 is available. try it now !

    wait for other people...
     
  5. Offline

    Joxiscraft

    I have the lates recommended build and I also had the error with dev builds and older recommende builds...

    http://forums.bukkit.org/threads/exception-in-thread-thread-5-out-of-memory.40698/
    = The solution!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
Thread Status:
Not open for further replies.

Share This Page