Server hangs up

Discussion in 'Bukkit Help' started by General, Oct 2, 2013.

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

    General

    Just as a note, I am not necessarily seeking a solution - I should be able to find it myself. What I'm looking for is what this error means. (e.g. what could cause it, or what the error implies, or etc.) If someone can explain to me what the nature of this error is, then it should make my troubleshooting much easier. I know I haven't answered many of the "standard" questions, but I don't think it won't be necessary.

    And also, as a disclaimer, I'm not a technologically-oriented person, so it would be nice if someone could explain things simply to me. Any help at all would be greatly appreciated. :)

    Okay, onto the issue itself. When I start up my server, and the moment a player logs in, the server hangs up with this "OutOfMemoryError". There have been three "types" of hangups/crashes so far. The first I encountered was triggered instantly when a single player logged on, and it resulted in the server shutting itself down automatically.
    The second one I encountered also triggered instantly, and resulted in a hangup that repeated these two lines:
    2013-10-02 19:30:13 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    2013-10-02 19:30:17 [SEVERE] Exception in thread "AWT-EventQueue-0"
    The third I encountered did not trigger instantly. It triggered when I logged on, flew around, and explored a few chunks. It resulted in a server crash, but not a hangup.

    Here's an example of such an "error":
    Show Spoiler
    2013-10-02 22:49:02 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2013-10-02 22:49:02 [SEVERE] at java.lang.Thread.start0(Native Method)
    2013-10-02 22:49:02 [SEVERE] at java.lang.Thread.start(Unknown Source)
    2013-10-02 22:49:02 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
    2013-10-02 22:49:02 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
    2013-10-02 22:49:02 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:358)
    2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
    2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    2013-10-02 22:49:02 [SEVERE] Encountered an unexpected exception OutOfMemoryError
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
    at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:358)
    at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
    at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    2013-10-02 22:49:03 [SEVERE] This crash report has been saved to: C:\Users\Peter\Documents\CraftBukkit\.\crash-reports\crash-2013-10-02_22.49.03-server.txt
    2013-10-02 22:49:15 [WARNING] [Server] The main thread failed to respond after 10 seconds
    2013-10-02 22:49:15 [WARNING] [Server] What follows is the stack trace of the main thread
    2013-10-02 22:49:15 [WARNING] [Server] at java.lang.Thread.sleep(Native Method)
    2013-10-02 22:49:15 [WARNING] [Server] at net.minecraft.server.v1_5_R3.DedicatedServer.a(DedicatedServer.java:207)
    2013-10-02 22:49:27 [WARNING] [Server] The main thread is still stuck, current loop line is:
    2013-10-02 22:49:27 [WARNING] [Server] at net.minecraft.server.v1_5_R3.DedicatedServer.a(DedicatedServer.java:207)
    2013-10-02 22:49:32 [SEVERE] Exception in thread "Connection #2 read thread"
    2013-10-02 22:49:32 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2013-10-02 22:49:32 [SEVERE] at java.lang.Thread.start0(Native Method)
    2013-10-02 22:49:32 [SEVERE] at java.lang.Thread.start(Unknown Source)
    2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.a(NetworkManager.java:242)
    2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.i(NetworkManager.java:218)
    2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.c(NetworkManager.java:346)
    2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkReaderThread.run(SourceFile:94)
    2013-10-02 22:49:38 [SEVERE] Exception in thread "Connection #3 read thread"
    2013-10-02 22:49:38 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2013-10-02 22:49:38 [SEVERE] at java.lang.Thread.start0(Native Method)
    2013-10-02 22:49:38 [SEVERE] at java.lang.Thread.start(Unknown Source)
    2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.a(NetworkManager.java:242)
    2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.i(NetworkManager.java:218)
    2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.c(NetworkManager.java:346)
    2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkReaderThread.run(SourceFile:94)


    Now, for some extra information. I suspect this situation might be somewhat influenced by the .bat file that starts the server. Each time I started up my server, I changed my .bat file, including the arguments used, and the amount of memory allocated. However, no matter which example I followed (there are examples of .bat files to start a server on MinecraftWiki and BukkitWiki), and no matter how much memory I allocated, the same result ensued. However, the time my server just simply crashed with no hangup, I had allocated more memory than on other attempts (I believe it was 2gb instead of 1gb).
    At this point, you could make the suggestion, "Oh, just increase the allocation even more." Well, even if it does work, I would not believe in that solution because I have run the server consistently in the past with the same .bat file and the same memory allocation, and this has never happened before. This has only started happening after I started running my server after a two-month hiatus. I have not changed anything to the server, and I have not changed anything with Java (or at least I don't think anything has changed).

    Now, for the basic information that some of you may want to know:
    1. What OS are you using (Brand and version - Ex. Windows XP SP3 or Windows 7 x64)?
    I'm using Windows 7 off a port-forwarded, home computer.
    2. What architecture is the OS you are running (x64 or x86)?
    It's 64-bit.
    3. What version and architecture is your java install?
    Java version: 1.7.0_40
    4. Are you running any wrappers? McMyAdmin, mcadmin, Hamachi, etc?
    I don't know what a wrapper is.
    5. What build of CraftBukkit are you running? (do NOT say latest. Say the build number.)
    CraftBukkit version 1.5.2-R0.1. Yes, it's outdated, but this shouldn't be the source of the problem. (Remember that I ran the server consistently for months, went into a two-month hiatus, and now I'm experiencing these issues.)
    6. Pastebin.com/Pastie.org your server.log, server.properties and bukkit.yml files.
    I don't think this is necessary or useful, but if you want it, you can ask.

    I've tried uninstalling Java, and reinstalling it (both 32 and 64-bit). That didn't work.

    And last but not least, here is the .bat file I used before this entire mess happened:
    I've also tried this .bat file, but it didn't work either (from the BukkitWiki):
    So yeah, I'm looking for someone's take on why this error happens and what it means. If someone has a solution, that would be great, but I'm more interested in finding the solution myself. I can't do that, however, because I don't understand the nature of this issue.
     
  2. Offline

    xTrollxDudex

    General
    The error you showed means you didn't allocate enough memory
     
  3. Offline

    General

    That's what I thought, but I didn't think that could have been the case, because I ran my server under the same conditions (memory allocation and amount of plugins) for months before, and no problems have ever occurred.

    If your statement is correct, then that leaves one unsolved problem. I had not changed anything to the server or Java during the server's two-month hiatus. Before the hiatus, the server ran perfectly. After the hiatus (which would be today), the server experienced these problems. The only feasible answer I can think of is that something within Java or my server changed by itself, or that some external factor that I have today, but didn't have back then, is causing more memory to be "consumed".

    EDIT: I also forgot to include, I noticed the server consumed much more memory when I ran it today, than when I ran it back then. How much more, I'm not sure, but I do know that it's more than "normal".

    xTrollxDudex

    After one more attempt, I'm pretty sure this isn't about memory allocation alone. I've allocated 2.5 gb of RAM via my .bat file to the server, and the server was using only 1.5 gb. When I logged on, it spewed errors like before and froze up. One thing about these errors that I have noticed were different from other errors is this line:
    [SEVERE] java.lang.OutOfMemoryError: PermGen space
    I haven't seen an error involving "PermGen space" before.

    I am rather curious what this "PermGen space" is, what it means, and why I'm getting an error involving it all of a sudden. I'd much appreciate it if anyone could answer.

    And if anyone wants to know, this is the .bat file I used this time around:
    This is starting to get aggravating as I can no longer play on my server anymore. Maybe I should consider the tedious approach of running a fresh server, removing/adding plugins one-by-one, then etc., but I still can't wrap my head around why this is all happening. :confused:

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

    xTrollxDudex

    General
    Can I see the crash report?

    Please post the stack trace for your problems (3 of them right?) with code tags, it helps align the text so I can see it easier.
     
  5. Offline

    General

    xTrollxDudex
    For this attempt, I did not receive any errors directly from the server. Very strange, though I did receive errors from other plugins, as a result of this memory issue. I'll put it in here anyway if that's of any help.
    Show Spoiler
    Code:java
    1. 2013-10-03 18:45:25 [SEVERE] Could not pass event PlayerJoinEvent to BookShop v5.2
    2. java.lang.OutOfMemoryError: PermGen space
    3. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:429)
    4. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    5. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    6. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    7. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    8. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    9. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    10. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    11. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    12. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    13. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    14. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    15. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    16. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    17. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    18. 2013-10-03 18:45:39 [SEVERE] Could not pass event PlayerJoinEvent to ProtocolLib v2.4.5
    19. java.lang.OutOfMemoryError: PermGen space


    I'll post my other ones too:
    Show Spoiler
    Code:java
    1. 2013-10-02 22:49:02 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2. 2013-10-02 22:49:02 [SEVERE] at java.lang.Thread.start0(Native Method)
    3. 2013-10-02 22:49:02 [SEVERE] at java.lang.Thread.start(Unknown Source)
    4. 2013-10-02 22:49:02 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
    5. 2013-10-02 22:49:02 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
    6. 2013-10-02 22:49:02 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:358)
    7. 2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
    8. 2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    9. 2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    10. 2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    11. 2013-10-02 22:49:02 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    12. 2013-10-02 22:49:02 [SEVERE] Encountered an unexpected exception OutOfMemoryError
    13. java.lang.OutOfMemoryError: unable to create new native thread
    14. at java.lang.Thread.start0(Native Method)
    15. at java.lang.Thread.start(Unknown Source)
    16. at java.util.concurrent.ThreadPoolExecutor.addWorker(Unknown Source)
    17. at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
    18. at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:358)
    19. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
    20. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    21. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    22. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    23. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    24. 2013-10-02 22:49:03 [SEVERE] This crash report has been saved to: C:\Users\Peter\Documents\CraftBukkit\.\crash-reports\crash-2013-10-02_22.49.03-server.txt
    25. 2013-10-02 22:49:15 [WARNING] [Server] The main thread failed to respond after 10 seconds
    26. 2013-10-02 22:49:15 [WARNING] [Server] What follows is the stack trace of the main thread
    27. 2013-10-02 22:49:15 [WARNING] [Server] at java.lang.Thread.sleep(Native Method)
    28. 2013-10-02 22:49:15 [WARNING] [Server] at net.minecraft.server.v1_5_R3.DedicatedServer.a(DedicatedServer.java:207)
    29. 2013-10-02 22:49:27 [WARNING] [Server] The main thread is still stuck, current loop line is:
    30. 2013-10-02 22:49:27 [WARNING] [Server] at net.minecraft.server.v1_5_R3.DedicatedServer.a(DedicatedServer.java:207)
    31. 2013-10-02 22:49:32 [SEVERE] Exception in thread "Connection #2 read thread"
    32. 2013-10-02 22:49:32 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    33. 2013-10-02 22:49:32 [SEVERE] at java.lang.Thread.start0(Native Method)
    34. 2013-10-02 22:49:32 [SEVERE] at java.lang.Thread.start(Unknown Source)
    35. 2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.a(NetworkManager.java:242)
    36. 2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.i(NetworkManager.java:218)
    37. 2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.c(NetworkManager.java:346)
    38. 2013-10-02 22:49:32 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkReaderThread.run(SourceFile:94)
    39. 2013-10-02 22:49:38 [SEVERE] Exception in thread "Connection #3 read thread"
    40. 2013-10-02 22:49:38 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    41. 2013-10-02 22:49:38 [SEVERE] at java.lang.Thread.start0(Native Method)
    42. 2013-10-02 22:49:38 [SEVERE] at java.lang.Thread.start(Unknown Source)
    43. 2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.a(NetworkManager.java:242)
    44. 2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.i(NetworkManager.java:218)
    45. 2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkManager.c(NetworkManager.java:346)
    46. 2013-10-02 22:49:38 [SEVERE] at net.minecraft.server.v1_5_R3.NetworkReaderThread.run(SourceFile:94)
    47. 2013-10-02 22:49:55 [INFO] CONSOLE: Stopping the server..

    Show Spoiler
    Code:java
    1. 2013-10-02 19:27:47 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2. 2013-10-02 19:27:54 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    3. java.lang.OutOfMemoryError: PermGen space
    4. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:429)
    5. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    6. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    7. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    8. at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:235)
    9. at net.minecraft.server.v1_5_R3.World.addEntity(World.java:924)
    10. at net.minecraft.server.v1_5_R3.SpawnerCreature.spawnEntities(SpawnerCreature.java:159)
    11. at net.minecraft.server.v1_5_R3.WorldServer.doTick(WorldServer.java:186)
    12. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:555)
    13. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    14. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    15. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    16. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    17. 2013-10-02 19:27:57 [SEVERE] Exception in thread "AWT-EventQueue-0"
    18. 2013-10-02 19:27:58 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    19. java.lang.OutOfMemoryError: PermGen space
    20. 2013-10-02 19:27:58 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    21. 2013-10-02 19:28:01 [SEVERE] at javax.swing.text.Utilities.getTabbedTextWidth(Unknown Source)
    22. 2013-10-02 19:28:01 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    23. java.lang.OutOfMemoryError: PermGen space
    24. 2013-10-02 19:28:02 [SEVERE] at javax.swing.text.GlyphPainter1.getSpan(Unknown Source)
    25. 2013-10-02 19:28:07 [SEVERE] at javax.swing.text.GlyphView.getTabbedSpan(Unknown Source)
    26. 2013-10-02 19:28:06 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    27. java.lang.OutOfMemoryError: PermGen space
    28. 2013-10-02 19:28:07 [SEVERE] at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
    29. 2013-10-02 19:28:10 [SEVERE] at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
    30. 2013-10-02 19:28:10 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    31. java.lang.OutOfMemoryError: PermGen space
    32. 2013-10-02 19:28:10 [SEVERE] at javax.swing.text.FlowView.layout(Unknown Source)
    33. 2013-10-02 19:28:13 [SEVERE] at javax.swing.text.BoxView.setSize(Unknown Source)
    34. 2013-10-02 19:28:13 [SEVERE] at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
    35. 2013-10-02 19:28:13 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    36. java.lang.OutOfMemoryError: PermGen space
    37. 2013-10-02 19:28:13 [SEVERE] at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    38. 2013-10-02 19:28:17 [SEVERE] at javax.swing.text.BoxView.layout(Unknown Source)
    39. 2013-10-02 19:28:17 [SEVERE] at javax.swing.text.BoxView.setSize(Unknown Source)
    40. 2013-10-02 19:28:17 [SEVERE] at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
    41. 2013-10-02 19:28:17 [SEVERE] at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
    42. 2013-10-02 19:28:17 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    43. java.lang.OutOfMemoryError: PermGen space
    44. 2013-10-02 19:28:17 [SEVERE] at javax.swing.JComponent.getPreferredSize(Unknown Source)
    45. 2013-10-02 19:28:17 [SEVERE] at javax.swing.JEditorPane.getPreferredSize(Unknown Source)
    46. 2013-10-02 19:28:20 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    47. java.lang.OutOfMemoryError: PermGen space
    48. 2013-10-02 19:28:20 [SEVERE] at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    49. 2013-10-02 19:28:23 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    50. java.lang.OutOfMemoryError: PermGen space
    51. 2013-10-02 19:28:23 [SEVERE] at java.awt.Container.layout(Unknown Source)
    52. 2013-10-02 19:28:25 [SEVERE] Could not pass event CreatureSpawnEvent to ResExtras v2.0.1
    53. java.lang.OutOfMemoryError: PermGen space
    54. 2013-10-02 19:28:25 [SEVERE] at java.awt.Container.doLayout(Unknown Source)
    55. 2013-10-02 19:28:28 [SEVERE] at java.awt.Container.validateTree(Unknown Source)
    56. 2013-10-02 19:28:28 [SEVERE] Could not pass event CreatureSpawnEvent to WeatherMan v0.5.2
    57. java.lang.OutOfMemoryError: PermGen space
    58. 2013-10-02 19:28:28 [SEVERE] at java.awt.Container.validate(Unknown Source)
    59. 2013-10-02 19:28:28 [SEVERE] at javax.swing.RepaintManager$2.run(Unknown Source)
    60. 2013-10-02 19:28:31 [SEVERE] at javax.swing.RepaintManager$2.run(Unknown Source)
    61. 2013-10-02 19:28:31 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    62. 2013-10-02 19:28:31 [SEVERE] Could not pass event CreatureSpawnEvent to Rebalance Villagers v1.5.2
    63. java.lang.OutOfMemoryError: PermGen space
    64. 2013-10-02 19:28:31 [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    65. 2013-10-02 19:28:34 [SEVERE] Could not pass event CreatureSpawnEvent to MobArena v0.94.4.98
    66. java.lang.OutOfMemoryError: PermGen space
    67. 2013-10-02 19:28:34 [SEVERE] at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
    68. 2013-10-02 19:28:35 [SEVERE] at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    69. 2013-10-02 19:28:35 [SEVERE] at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    70. 2013-10-02 19:28:37 [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    71. 2013-10-02 19:28:37 [SEVERE] at java.awt.EventQueue.access$200(Unknown Source)
    72. 2013-10-02 19:28:37 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
    73. 2013-10-02 19:28:37 [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
    74. 2013-10-02 19:28:37 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    75. 2013-10-02 19:28:37 [SEVERE] Could not pass event CreatureSpawnEvent to Citizens v2.0.8-SNAPSHOT (build 803)
    76. java.lang.OutOfMemoryError: PermGen space
    77. 2013-10-02 19:28:37 [SEVERE] Exception in thread "Connection #4 read thread"
    78. 2013-10-02 19:28:41 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    79. 2013-10-02 19:28:41 [SEVERE] Could not pass event CreatureSpawnEvent to MonsterBox v0.9.0
    80. java.lang.OutOfMemoryError: PermGen space
    81. 2013-10-02 19:28:41 [SEVERE] Exception in thread "AWT-EventQueue-0"
    82. 2013-10-02 19:28:43 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    83. 2013-10-02 19:28:43 [SEVERE] Could not pass event CreatureSpawnEvent to NoLagg v1.89.9
    84. java.lang.OutOfMemoryError: PermGen space
    85. 2013-10-02 19:28:46 [SEVERE] Could not pass event CreatureSpawnEvent to MobManager v2.6c
    86. java.lang.OutOfMemoryError: PermGen space
    87. 2013-10-02 19:28:49 [SEVERE] Could not pass event CreatureSpawnEvent to MonsterFix v0.4.0
    88. java.lang.OutOfMemoryError: PermGen space
    89. 2013-10-02 19:28:51 [SEVERE] Exception in thread "AWT-EventQueue-0"
    90. 2013-10-02 19:29:08 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    91. 2013-10-02 19:29:11 [SEVERE] Could not pass event CreatureSpawnEvent to NoLagg v1.89.9
    92. java.lang.OutOfMemoryError: PermGen space
    93. 2013-10-02 19:29:13 [SEVERE] Exception in thread "AWT-EventQueue-0"
    94. 2013-10-02 19:29:14 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    95. 2013-10-02 19:29:16 [SEVERE] Exception in thread "Thread-5"
    96. 2013-10-02 19:29:17 [SEVERE] Exception in thread "AWT-EventQueue-0"
    97. 2013-10-02 19:29:19 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    98. 2013-10-02 19:29:22 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    99. 2013-10-02 19:29:23 [SEVERE] Exception in thread "AWT-EventQueue-0"
    100. 2013-10-02 19:29:24 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    101. 2013-10-02 19:29:26 [SEVERE] Exception in thread "AWT-EventQueue-0"
    102. 2013-10-02 19:29:28 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    103. 2013-10-02 19:29:30 [SEVERE] Exception in thread "AWT-EventQueue-0"
    104. 2013-10-02 19:29:31 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    105. 2013-10-02 19:29:34 [SEVERE] Exception in thread "AWT-EventQueue-0"
    106. 2013-10-02 19:29:35 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    107. 2013-10-02 19:29:39 [SEVERE] Exception in thread "AWT-EventQueue-0"
    108. 2013-10-02 19:29:41 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    109. 2013-10-02 19:29:45 [SEVERE] Exception in thread "AWT-EventQueue-0"
    110. 2013-10-02 19:29:47 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    111. 2013-10-02 19:29:50 [SEVERE] Exception in thread "AWT-EventQueue-0"
    112. 2013-10-02 19:29:51 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    113. 2013-10-02 19:29:52 [SEVERE] Exception in thread "AWT-EventQueue-0"
    114. 2013-10-02 19:29:52 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    115. 2013-10-02 19:29:57 [SEVERE] Exception in thread "AWT-EventQueue-0"
    116. 2013-10-02 19:30:00 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    117. 2013-10-02 19:30:01 [SEVERE] Exception in thread "AWT-EventQueue-0"
    118. 2013-10-02 19:30:03 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    119. 2013-10-02 19:30:06 [SEVERE] Exception in thread "AWT-EventQueue-0"
    120. 2013-10-02 19:30:07 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    121. 2013-10-02 19:30:12 [SEVERE] Exception in thread "AWT-EventQueue-0"
    122. 2013-10-02 19:30:13 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    123. 2013-10-02 19:30:17 [SEVERE] Exception in thread "AWT-EventQueue-0"
    124. 2013-10-02 19:30:18 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    125. 2013-10-02 19:30:19 [SEVERE] Exception in thread "AWT-EventQueue-0"
    126. 2013-10-02 19:30:22 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    127. 2013-10-02 19:30:27 [SEVERE] Exception in thread "AWT-EventQueue-0"
    128. 2013-10-02 19:30:29 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    129. 2013-10-02 19:30:31 [SEVERE] Exception in thread "AWT-EventQueue-0"
    130. 2013-10-02 19:30:33 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    131. 2013-10-02 19:30:34 [SEVERE] Exception in thread "AWT-EventQueue-0"
    132. 2013-10-02 19:30:35 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    133. 2013-10-02 19:30:38 [SEVERE] Exception in thread "AWT-EventQueue-0"
    134. 2013-10-02 19:30:39 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    135. 2013-10-02 19:30:42 [SEVERE] Exception in thread "AWT-EventQueue-0"
    136. 2013-10-02 19:30:45 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    137. 2013-10-02 19:30:48 [SEVERE] Exception in thread "AWT-EventQueue-0"
    138. 2013-10-02 19:30:49 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    139. 2013-10-02 19:30:52 [SEVERE] Exception in thread "AWT-EventQueue-0"
    140. 2013-10-02 19:30:54 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    141. 2013-10-02 19:30:59 [SEVERE] Exception in thread "AWT-EventQueue-0"
    142. 2013-10-02 19:31:00 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    143. 2013-10-02 19:31:03 [SEVERE] Exception in thread "AWT-EventQueue-0"
    144. 2013-10-02 19:31:04 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    145. 2013-10-02 19:31:09 [SEVERE] Exception in thread "AWT-EventQueue-0"
    146. 2013-10-02 19:31:11 [SEVERE] java.lang.OutOfMemoryError: PermGen space

    Show Spoiler
    Code:java
    1. 2013-10-02 18:59:17 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2. 2013-10-02 18:59:21 [SEVERE] Exception in thread "Connection #2 read thread"
    3. 2013-10-02 18:59:23 [SEVERE] [NoLagg Chunks] An error occured while sending chunks:
    4. 2013-10-02 18:59:24 [WARNING] [NoLagg] Task #126 for NoLagg v1.89.9 generated an exception
    5. java.lang.OutOfMemoryError: PermGen space

    Show Spoiler
    Code:java
    1. 2013-10-02 18:44:52 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    2. 2013-10-02 18:44:52 [SEVERE] at net.minecraft.server.v1_5_R3.CrashReport.<init>(CrashReport.java:19)
    3. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.CrashReport.a(CrashReport.java:212)
    4. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.PlayerConnection.sendPacket(PlayerConnection.java:743)
    5. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:94)
    6. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    7. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    8. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    9. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    10. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    11. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    12. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    13. 2013-10-02 18:44:53 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    14. 2013-10-02 18:44:54 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    15. 2013-10-02 18:44:54 [SEVERE] Encountered an unexpected exception OutOfMemoryError
    16. java.lang.OutOfMemoryError: PermGen space
    17. at net.minecraft.server.v1_5_R3.CrashReport.<init>(CrashReport.java:19)
    18. at net.minecraft.server.v1_5_R3.CrashReport.a(CrashReport.java:212)
    19. at net.minecraft.server.v1_5_R3.PlayerConnection.sendPacket(PlayerConnection.java:743)
    20. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:94)
    21. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    22. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    23. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    24. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    25. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    26. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    27. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    28. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    29. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    30. 2013-10-02 18:44:54 [SEVERE] Exception in thread "Connection #3 read thread"
    31. 2013-10-02 18:44:55 [SEVERE] java.lang.OutOfMemoryError: PermGen space


    Oh, I'm not sure if this has anything to do with anything, but I've also gotten an error from two plugins - I have not gotten an error from these plugins before. So that might be connected with the issue. Here's one for SpongeRestore:
    Show Spoiler
    Code:java
    1. 2013-10-02 22:00:36 [INFO] [SpongeRestore] Enabling SpongeRestore v1.7
    2. 2013-10-02 22:00:36 [SEVERE] java.io.EOFException
    3. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
    4. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readObject0(Unknown Source)
    5. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readObject(Unknown Source)
    6. 2013-10-02 22:00:36 [SEVERE] at java.util.concurrent.ConcurrentHashMap.readObject(Unknown Source)
    7. 2013-10-02 22:00:36 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    8. 2013-10-02 22:00:36 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    9. 2013-10-02 22:00:36 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    10. 2013-10-02 22:00:36 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    11. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectStreamClass.invokeReadObject(Unknown Source)
    12. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readSerialData(Unknown Source)
    13. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readOrdinaryObject(Unknown Source)
    14. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readObject0(Unknown Source)
    15. 2013-10-02 22:00:36 [SEVERE] at java.i:confused:bjectInputStream.readObject(Unknown Source)
    16. 2013-10-02 22:00:36 [SEVERE] at pgDev.bukkit.SpongeRestore.SpongeRestore.loadSpongeData(SpongeRestore.java:170)
    17. 2013-10-02 22:00:36 [SEVERE] at pgDev.bukkit.SpongeRestore.SpongeRestore.onEnable(SpongeRestore.java:71)
    18. 2013-10-02 22:00:36 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    19. 2013-10-02 22:00:36 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    20. 2013-10-02 22:00:36 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    21. 2013-10-02 22:00:36 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282)
    22. 2013-10-02 22:00:36 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264)
    23. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304)
    24. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283)
    25. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243)
    26. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151)
    27. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382)
    28. 2013-10-02 22:00:36 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    29. 2013-10-02 22:00:36 [INFO] SpongeRestore version 1.7 is enabled!

    This is the dev.bukkit page for it: http://dev.bukkit.org/bukkit-plugins/spongerestore/
    And here's the one for Pail:
    Show Spoiler
    Code:java
    1. 2013-10-02 21:58:08 [INFO] [Pail] Enabling Pail v0.8.3
    2. 2013-10-02 21:58:10 [INFO] [Pail] Retrieving state...
    3. 2013-10-02 21:58:10 [SEVERE] [Pail] java.io.EOFException
    4. 2013-10-02 21:58:10 [SEVERE] Exception in thread "Pail"
    5. 2013-10-02 21:58:10 [SEVERE] java.lang.NullPointerException
    6. 2013-10-02 21:58:10 [SEVERE] at me.escapeNT.pail.Pail.loadState(Pail.java:198)
    7. 2013-10-02 21:58:10 [SEVERE] at me.escapeNT.pail.Pail$InitMain.run(Pail.java:307)
    8. 2013-10-02 21:58:10 [SEVERE] at java.lang.Thread.run(Unknown Source)

    And this is the dev.bukkit page for it: http://dev.bukkit.org/bukkit-plugins/pail/
    An additional side note for Pail, most of the time, the Pail GUI window refuses to respond. I can't maximise it, or bring it up, or anything. This also hasn't happened before. Again, I just think it could be connected - I know I could (and maybe should) post these errors on their respective pages, but that's not relevant to the issue at hand.
    One more side note, I actually do remember changing something in my server during the hiatus. I wiped all the permissions nodes I had set for bPermissions, but I doubt that would be the cause of this problem. Can't really see how permissions have to do with memory-related issues...

    Also, thanks for the help you've been offering me! :)
     
  6. Offline

    xTrollxDudex

    General
    Well you can't really fix any errors with the plugins, you'll have to wait for the author to make a better version which doesn't have all those errors :p

    Although one VERY peculiar thing is ProtocolLib is throwing an error which is rare.

    Try deleting the server folder and reinstalling craftbukkit and the plugins. If the error still persists then it's probably either:
    Your CPU is not powerful enough
    The memory is not properly allocated (unlikely)
    Computer issue (unlikely)
    Too many plugins/worlds/TPS/memory usage
    Or maybe some other issue I'm not seeing :/
     
  7. Offline

    General

    xTrollxDudex

    Well, I'll be damned. The problem persisted. I made a completely new folder, copy and pasted all the plugins (not the corresponding plugin folders), craftbukkit.jar, and the .bat file I've been using. Same exact issue! More plugins throwing out "PlayerJoinEvent" errors, and this line keeps haunting me:
    Caused by: java.lang.OutOfMemoryError: PermGen space
    For the sake of thoroughness, here is the relevant snippet of my server.log at that time:
    Show Spoiler
    Code:java
    1. 2013-10-05 15:19:07 [SEVERE] Could not pass event PlayerJoinEvent to Herochat v5.6.6-b214
    2. org.bukkit.event.EventException
    3. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    4. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    5. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    6. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    7. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    8. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    9. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    10. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    11. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    12. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    13. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    14. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    15. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    16. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    17. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    18. Caused by: java.lang.OutOfMemoryError: PermGen space
    19. at java.lang.ClassLoader.defineClass1(Native Method)
    20. at java.lang.ClassLoader.defineClass(Unknown Source)
    21. at java.security.SecureClassLoader.defineClass(Unknown Source)
    22. at java.net.URLClassLoader.defineClass(Unknown Source)
    23. at java.net.URLClassLoader.access$100(Unknown Source)
    24. at java.net.URLClassLoader$1.run(Unknown Source)
    25. at java.net.URLClassLoader$1.run(Unknown Source)
    26. at java.security.AccessController.doPrivileged(Native Method)
    27. at java.net.URLClassLoader.findClass(Unknown Source)
    28. at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
    29. at org.bukkit.plugin.java.JavaPluginLoader.getClassByName0(JavaPluginLoader.java:300)
    30. at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:76)
    31. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    32. at java.lang.ClassLoader.loadClass(Unknown Source)
    33. at java.lang.ClassLoader.loadClass(Unknown Source)
    34. at com.dthielke.herochat.YMLChatterStorage.load(YMLChatterStorage.java:54)
    35. at com.dthielke.herochat.ChatterManager.addChatter(ChatterManager.java:25)
    36. at com.dthielke.herochat.HCPlayerListener.onPlayerJoin(HCPlayerListener.java:54)
    37. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    38. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    39. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    40. at java.lang.reflect.Method.invoke(Unknown Source)
    41. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    42. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    43. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    44. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    45. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    46. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    47. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    48. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    49. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    50. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    51. 2013-10-05 15:19:09 [SEVERE] Could not pass event PlayerJoinEvent to SignLink v1.33
    52. org.bukkit.event.EventException
    53. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    54. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    55. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    56. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    57. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    58. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    59. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    60. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    61. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    62. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    63. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    64. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    65. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    66. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    67. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    68. Caused by: java.lang.OutOfMemoryError: PermGen space
    69. at java.lang.ClassLoader.defineClass1(Native Method)
    70. at java.lang.ClassLoader.defineClass(Unknown Source)
    71. at java.security.SecureClassLoader.defineClass(Unknown Source)
    72. at java.net.URLClassLoader.defineClass(Unknown Source)
    73. at java.net.URLClassLoader.access$100(Unknown Source)
    74. at java.net.URLClassLoader$1.run(Unknown Source)
    75. at java.net.URLClassLoader$1.run(Unknown Source)
    76. at java.security.AccessController.doPrivileged(Native Method)
    77. at java.net.URLClassLoader.findClass(Unknown Source)
    78. at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
    79. at org.bukkit.plugin.java.JavaPluginLoader.getClassByName0(JavaPluginLoader.java:300)
    80. at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:76)
    81. at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    82. at java.lang.ClassLoader.loadClass(Unknown Source)
    83. at java.lang.ClassLoader.loadClass(Unknown Source)
    84. at com.bergerkiller.bukkit.sl.API.Variable.forPlayer(Variable.java:160)
    85. at com.bergerkiller.bukkit.sl.API.Variable.forPlayer(Variable.java:148)
    86. at com.bergerkiller.bukkit.sl.SLListener.onPlayerJoin(SLListener.java:151)
    87. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    88. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    89. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    90. at java.lang.reflect.Method.invoke(Unknown Source)
    91. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    92. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    93. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    94. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    95. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    96. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    97. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    98. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    99. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    100. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    101. 2013-10-05 15:19:10 [SEVERE] Could not pass event PlayerJoinEvent to NoLagg v1.89.9
    102. org.bukkit.event.EventException
    103. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    104. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    105. at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    106. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    107. at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204)
    108. at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100)
    109. at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129)
    110. at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44)
    111. at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
    112. at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
    113. at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
    114. at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
    115. at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
    116. at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
    117. at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    118. Caused by: java.lang.OutOfMemoryError: PermGen space
    119. at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onPlayerJoin(NLCListener.java:23)
    120. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    121. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    122. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    123. at java.lang.reflect.Method.invoke(Unknown Source)
    124. at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    125. ... 14 more
    126. 2013-10-05 15:19:12 [SEVERE] java.lang.OutOfMemoryError: PermGen space
    127. 2013-10-05 15:19:12 [SEVERE] Encountered an unexpected exception OutOfMemoryError
    128. java.lang.OutOfMemoryError: PermGen space
    129. 2013-10-05 15:19:13 [INFO] Stopping server

    Also, the server automatically stopped itself - I assume it was natural for it to react that way.

    Let's go through the probable reasons you've brought up, one-by-one.

    About plugins, the more and more I see this, the less I suspect it to be plugins. All plugins are throwing out similar errors, so they all obviously can't be faulting in the same way - otherwise there would be much mess on their dev.bukkit pages, which there isn't (and as you said, even ProtocolLib threw an error, meaning there is some higher power causing this error). But this still is a possibility - a plugin could change itself for some reason.

    My CPU is fine. I didn't see any issues with it. Usually, a maxed out CPU causes lag, but not a memory-related crash. And remember: I've run the same setup for quite awhile, so it can't be my CPU, unless it got heavily degraded within a time frame of two months.

    About memory not being properly allocated... Could you elaborate on what this means? I'm beginning to think THIS is the issue. I'm not sure why, but that's just my intuition.

    On computer issues, I would agree this is unlikely. I don't believe I have any malware running about, or defective hardware.

    I've been running too many plugins all my life. It's a bad habit I know, but it was not nearly enough to bring the server to a stand-still. I've also ran lots of worlds, but on this test attempt, I had only "world" and the "end" and "nether" correspondents with the same crash. Hanging from TPS and memory USAGE is also unlikely - 2.5gb was allocated, and it used much less while still crashing.

    There's also a good possibility that it's some other issue that's pretty obscure.

    Hmm... this will prove indeed a hard case to crack. I think it would be much helpful if we knew what "Caused by: java.lang.OutOfMemoryError: PermGen space" meant.
     
  8. Offline

    xTrollxDudex

    General
    It's probably the RAM is being used unwisely in other places outside the server. Or you may have maxed out the amount of ram possible to allocate to a single application.
     
  9. Offline

    General

    xTrollxDudex

    It's been a long, long, time, but I found the "answer". Apparently, Java can allocate memory both to the "PermGen space" and to the "Heap". I tried allocating more memory to heap, but that didn't help because I should've been allocating more memory to the "PermGen space", which are treated separately.

    This website helped me out a lot:
    http://www.integratingstuff.com/2011/07/24/understanding-and-avoiding-the-java-permgen-space-error/

    ...and I think it's something every server admin should know about.

    Luckily, my new server comp I'm about to build has 16gb of RAM, so I won't have to worry about overusing RAM in the future. :)
     
  10. Offline

    xTrollxDudex

    General
    Could've PMed me instead of bumping this ;)
     
  11. Offline

    General

    xTrollxDudex

    Oh, right... Whoops.

    I'd also like to add that my RAM usage magically went down by .6gb over time. Don't know why or how that happened, but I can't really complain at this point.
     
Thread Status:
Not open for further replies.

Share This Page