java.lang.OutOfMemoryError: PermGen space

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

chrisjose1913

New Member
Jul 29, 2019
30
0
0
Hello i have been having issues setting up FTB with forgebukkit on the server, i keep getting crash errors, even when i remove all bukkit plugins i get it.

I have tried MCPC+ That also crashes, yet FTB on it's own starts fine.

The server has 32 GB of ram so it's not a issue there, but i installed multicraft my self as it's hosted on OVH with JAVA 7 latest
Remember it only happens with MCPC+ or forge bukkit.
Can anyone help ?

Error Log

10.09 14:41:24 [Server] SEVERE Caused by: java.lang.OutOfMemoryError: PermGen space
10.09 14:41:23 [Server] SEVERE ... 2 more
10.09 14:41:21 [Server] SEVERE at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:41:21 [Server] SEVERE at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:41:20 [Server] SEVERE at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:273)
10.09 14:41:18 [Server] SEVERE Caused by: java.lang.ClassNotFoundException: net.minecraft.command.ServerCommand
10.09 14:41:18 [Server] SEVERE at net.minecraft.server.dedicated.DedicatedServerCommandThread.run(DedicatedServerCommandThread.java:46)
10.09 14:41:18 [Server] SEVERE at net.minecraft.server.dedicated.DedicatedServer.func_71331_a(DedicatedServer.java:351)
10.09 14:41:16 [Server] SEVERE java.lang.NoClassDefFoundError: net/minecraft/command/ServerCommand
10.09 14:41:15 [Server] SEVERE Exception in thread "Thread-6"
10.09 14:41:02 [Multicraft] Auto-saving world...
10.09 14:35:18 [Server] SEVERE Caused by: java.lang.OutOfMemoryError: PermGen space
10.09 14:35:16 [Server] SEVERE ... 1 more
10.09 14:35:15 [Server] SEVERE at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:35:13 [Server] SEVERE at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:35:12 [Server] SEVERE at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:273)
10.09 14:35:11 [Server] SEVERE Caused by: java.lang.ClassNotFoundException: net.minecraft.network.packet.Packet19EntityAction
10.09 14:35:09 [Server] SEVERE at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:108)
10.09 14:35:07 [Server] SEVERE java.lang.NoClassDefFoundError: net/minecraft/network/packet/Packet19EntityAction
10.09 14:35:07 [Server] SEVERE Exception in thread "Listen thread"
10.09 14:33:30 [Server] SEVERE java.lang.OutOfMemoryError: PermGen space
10.09 14:33:29 [Server] SEVERE Exception in thread "Spigot Metrics Thread"
10.09 14:33:29 [Multicraft] Skipped 10 lines due to rate limit (30/s)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:403)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:31)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
10.09 14:31:31 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:365)
10.09 14:31:31 [Server] INFO org.bukkit.event.EventException
10.09 14:31:31 [Server] SEVERE Could not pass event PluginEnableEvent to GroupManager v2.0 (2.10.1) (Phoenix)
10.09 14:31:30 [Server] INFO Caused by: java.lang.OutOfMemoryError: PermGen space
10.09 14:31:30 [Server] INFO ... 12 more
10.09 14:31:30 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:31:30 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:332)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:356)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:442)
10.09 14:31:30 [Server] INFO Caused by: java.lang.ClassNotFoundException: Failed to remap class com.Acrobot.ChestShop.Configuration.Properties
10.09 14:31:30 [Server] INFO at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
10.09 14:31:30 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:586)
10.09 14:31:30 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214)
10.09 14:31:30 [Server] INFO at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:385)
10.09 14:31:30 [Server] INFO at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:443)
10.09 14:31:30 [Server] INFO at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:477)
10.09 14:31:30 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:298)
10.09 14:31:30 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:316)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
10.09 14:31:30 [Server] INFO at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:77)
10.09 14:31:30 [Server] INFO java.lang.NoClassDefFoundError: com/Acrobot/ChestShop/Configuration/Properties
10.09 14:31:30 [Server] SEVERE Error occurred while enabling ChestShop v3.50 t0049 (Is it up to date?)
10.09 14:31:30 [Multicraft] Skipped 28 lines due to rate limit (30/s)
10.09 14:31:30 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:365)
10.09 14:31:30 [Server] INFO org.bukkit.event.EventException
10.09 14:31:30 [Server] SEVERE Could not pass event PluginEnableEvent to GroupManager v2.0 (2.10.1) (Phoenix)
10.09 14:31:29 [Server] INFO ... 16 more
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:430)
10.09 14:31:29 [Server] INFO at java.security.SecureClassLoader.defineClass(Unknown Source)
10.09 14:31:29 [Server] INFO at java.lang.ClassLoader.defineClass(Unknown Source)
10.09 14:31:29 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method)
10.09 14:31:29 [Server] INFO Caused by: java.lang.OutOfMemoryError: PermGen space
10.09 14:31:29 [Server] INFO ... 12 more
10.09 14:31:29 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:31:29 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:332)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:356)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:442)
10.09 14:31:29 [Server] INFO Caused by: java.lang.ClassNotFoundException: Failed to remap class com.earth2me.essentials.spawn.EssentialsSpawnPlayerListener
10.09 14:31:29 [Server] INFO at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
10.09 14:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:586)
10.09 14:31:29 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214)
10.09 14:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:385)
10.09 14:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:443)
10.09 14:31:29 [Server] INFO at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:477)
10.09 14:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:298)
10.09 14:31:29 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:316)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396)
10.09 14:31:29 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
10.09 14:31:29 [Server] INFO at com.earth2me.essentials.spawn.EssentialsSpawn.onEnable(EssentialsSpawn.java:43)
10.09 14:31:29 [Server] INFO java.lang.NoClassDefFoundError: com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener
10.09 14:31:29 [Server] SEVERE Error occurred while enabling EssentialsSpawn v2.10.1 (Is it up to date?)
10.09 14:31:29 [Multicraft] Skipped 2 lines due to rate limit (30/s)
10.09 14:31:28 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:586)
10.09 14:31:28 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214)
10.09 14:31:28 [Server] INFO at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:385)
10.09 14:31:28 [Server] INFO at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:443)
10.09 14:31:28 [Server] INFO at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:477)
10.09 14:31:28 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:298)
10.09 14:31:28 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:316)
10.09 14:31:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
10.09 14:31:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396)
10.09 14:31:28 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.EssentialsProtect.onEnable(EssentialsProtect.java:57)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.EssentialsConnect.<init>(EssentialsConnect.java:30)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.EssentialsConnect$ProtectReloader.reloadConfig(EssentialsConnect.java:88)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.data.ProtectedBlockSQLite.<init>(ProtectedBlockSQLite.java:13)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.data.ProtectedBlockJDBC.<init>(ProtectedBlockJDBC.java:39)
10.09 14:31:28 [Server] INFO at com.earth2me.essentials.protect.data.ProtectedBlockJDBC.<init>(ProtectedBlockJDBC.java:44)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:228)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.C3P0Registry.reregister(C3P0Registry.java:251)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.C3P0Registry.incorporate(C3P0Registry.java:233)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.attemptManagePooledDataSource(ActiveManagementCoordinator.java:110)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.<init>(DynamicPooledDataSourceManagerMBean.java:159)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize(DynamicPooledDataSourceManagerMBean.java:189)
10.09 14:31:28 [Server] INFO at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.extractAttributeInfos(DynamicPooledDataSourceManagerMBean.java:545)
10.09 14:31:28 [Server] INFO at java.beans.Introspector.<clinit>(Unknown Source)
10.09 14:31:28 [Server] INFO java.lang.OutOfMemoryError: PermGen space
10.09 14:31:28 [Server] SEVERE Error occurred while enabling EssentialsProtect v2.10.1 (Is it up to date?)
10.09 14:31:28 [Server] INFO Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
10.09 14:31:26 [Server] INFO Enabling EssentialsProtect v2.10.1
10.09 14:31:26 [Server] INFO at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
10.09 14:31:26 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:586)
10.09 14:31:26 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214)
10.09 14:31:26 [Server] INFO at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:385)
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
What arguments are you currently using to regulate perm gen space?
Edit: otherwise, your issue is caused by bukkit and you should ask them what to do.
 

xaositech

New Member
Jul 29, 2019
42
0
0
If you feel kind today, Ashzification, it's like this:
java -Xms512M -Xmx1G -XX:permSize=128m -jar mcpc-plus-1.6.2-R1.1-forge871-B97.jar

The funny thing is, it continues after that:
2013-12-13 12:38:48 [INFO] Preparing start region for level 0 (Dimension: 0, Seed: -521057674)
2013-12-13 12:38:49 [INFO] Preparing spawn area: 5%
2013-12-13 12:38:50 [INFO] Preparing spawn area: 8%
2013-12-13 12:38:52 [INFO] Preparing spawn area: 10%
2013-12-13 12:38:53 [INFO] Preparing spawn area: 17%
2013-12-13 12:38:54 [INFO] Preparing spawn area: 22%
2013-12-13 12:38:55 [INFO] Preparing spawn area: 31%
2013-12-13 12:38:57 [INFO] Preparing spawn area: 38%
2013-12-13 12:38:58 [INFO] Preparing spawn area: 44%
2013-12-13 12:39:22 [SEVERE] Exception in thread "Listen thread"
2013-12-13 12:39:25 [SEVERE] java.lang.OutOfMemoryError: PermGen space
2013-12-13 12:39:55 [INFO] Preparing spawn area: 44%
2013-12-13 12:40:49 [INFO] Preparing spawn area: 45%
2013-12-13 12:41:43 [INFO] Preparing spawn area: 45%
2013-12-13 12:42:36 [INFO] Preparing spawn area: 45%
2013-12-13 12:43:29 [INFO] Preparing spawn area: 45%

Have a good weekend!
Mike