Hi, Neo here Lately my server's been experiencing a recurring memory leak which forces the server to shut down. It should be noted it shuts down as if someone typed /stop, not as if the server crashed. The error message that I get every time it shuts down is listed below: Code: [18:35:55] [Server thread/ERROR]: Encountered an unexpected exception java.lang.OutOfMemoryError: PermGen space at net.minecraft.server.v1_7_R3.PlayerConnection.sendPacket(PlayerConnection.java:742) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.EntityTrackerEntry.broadcast(EntityTrackerEntry.java:273) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.EntityTrackerEntry.broadcastIncludingSelf(EntityTrackerEntry.java:278) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.EntityTrackerEntry.b(EntityTrackerEntry.java:247) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.EntityTrackerEntry.track(EntityTrackerEntry.java:202) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.EntityTracker.updatePlayers(EntityTracker.java:154) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:658) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks] As far as I see, this error message has nothing to do with my plugins, rather bukkit itself. However, if anyone feels it would be nice to see the plugin list or some other config, I would be happy to oblige. I have already tried allocating more RAM to the server, but the error remains. Anyone have any idea what could be causing this?
I have been having memory leaks myself... but my problem only goes slightly with your description. I would recommend doing garbage collection with java from time to time, as it has helped with my problem.
If by RAM you mean PermGen, then I don't know. But if you don't mean that, then I would recommend talking to your host and ask them to increase your PermGen space.
Thanks much, sorry, I haven't seen this kind of error before, and my server's owner told me that the default way to fix it was via increasing RAM. Is there any other form of fix other than asking the host for more? Maybe a set of commands for the launcher.bat?
Asking the host for more RAM won't help with this problem. Try adding the following to the Java command line: Code: -XX:PermSize=256m