Solved Monster 1.1.1 + MCPC+ running out of memory

  • 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

TigerXtrm

New Member
Jul 29, 2019
14
0
0
For some reason my server throws a memory error at me when I try to start it with MCPC+ installed. Without it it runs fine.

Running on Linux using Multicraft.

Log of the crash:

Code:
2014-05-30 16:37:35 [SEVERE] Exception in thread "Command Reader"
2014-05-30 16:37:37 [SEVERE] java.lang.OutOfMemoryError: PermGen space
2014-05-30 16:37:42 [SEVERE] java.lang.OutOfMemoryError: PermGen space
2014-05-30 16:37:43 [SEVERE] Encountered an unexpected exception OutOfMemoryError
java.lang.OutOfMemoryError: PermGen space
2014-05-30 16:37:54 [SEVERE] Exception in thread "Server thread"
2014-05-30 16:37:54 [SEVERE] java.lang.NoClassDefFoundError: org/spigotmc/WatchdogThread
2014-05-30 16:37:54 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:707)
2014-05-30 16:37:54 [SEVERE]    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-05-30 16:38:07 [SEVERE] Exception in thread "Thread-7"
2014-05-30 16:38:07 [SEVERE] java.lang.OutOfMemoryError: PermGen space

Not sure how or why this happens. It's been allocated enough memory, including startup memory (512mb). Messed with .conf files, used different MCPC+ builds. Nothing seems to fix it.

Does anyone have some insight into this or maybe share their own setup which should work?
 

TigerXtrm

New Member
Jul 29, 2019
14
0
0
I decided to install the server from scratch and now it suddenly works. Not a clue what somehow fixed it though.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
I decided to install the server from scratch and now it suddenly works. Not a clue what somehow fixed it though.
This error WILL happen again, reinstalling just delayed it from happening again. To fix this

Add
Code:
-XX:PermSize512m
to your start script to fix it.
 

TigerXtrm

New Member
Jul 29, 2019
14
0
0
It hasn't happened again so far. I did have the PermSize set correctly in the .conf file but somehow it wasn't being applied I guess. Maybe it used the wrong one, I dunno. Now it's working though.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
It hasn't happened again so far. I did have the PermSize set correctly in the .conf file but somehow it wasn't being applied I guess. Maybe it used the wrong one, I dunno. Now it's working though.
Perm size can't be put in a .conf file unless your using a server wrapper. You put it in your startup arguments.
 

TigerXtrm

New Member
Jul 29, 2019
14
0
0
Like I said, I'm using Multicraft. The .conf file contains all such stuff, including startup arguments.