PermGen Space Error on Resurrection Server

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • 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

zedekblue

Active Member
May 16, 2013
34
3
33
Title says it all, I can't get a server up and running for the new resurrection pack. Is this a bug, or just me?
I'm running it with the recommended arguments:
java -d64 -server -Xms32M -Xmx2048M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:parallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=20 -jar FTBServer-1.7.10-1263.jar nogui

I tried increasing the RAM, which is basically the only thing I know how to do, to no avail. If you have any suggestions I appreciate any help.

Specs:
Dell Windows 7 Ultimate Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz & 6gb of RAM.

End of the Log:
https://dl.dropboxusercontent.com/u/13788042/Issues and errors/permgen.png
 

ChatFawkes

New Member
Jul 29, 2019
412
0
0
Try using this startup script:

Code:
java -server -Xms2048m -Xmx2048m -XX:PermSize=192m -XX:-UseConcMarkSweepGC -XX:+UseParNewGC -jar FTBServer-1.7.10-1263.jar nogui

If you upgrade to java 8 you don't even need the permsize flag.
 

zedekblue

Active Member
May 16, 2013
34
3
33
Try using this startup script:

Code:
java -server -Xms2048m -Xmx2048m -XX:PermSize=192m -XX:-UseConcMarkSweepGC -XX:+UseParNewGC -jar FTBServer-1.7.10-1263.jar nogui

If you upgrade to java 8 you don't even need the permsize flag.

You know what, I didn't even think to update java. That's probably going to fix this whole issue, haha. Thanks!
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
PermGen space is not the same thing as RAM, so increasing the RAM won't help. For some reason, the FTB launcher doesn't seem to have a setting to change it, but MultiMC does. If you install MultiMC, go into its settings menu, and check the box labeled "Track FTB Instances", you should see all the FTB packs you've installed show up on the main MultiMC screen. If you then click on Resurrection, then on "Edit Instance" in the sidebar, and go to Settings, you'll see some memory-related things. Click the box to enable them, and double or triple the PermGen value. Now, when you launch the pack through MultiMC, you should not have any more trouble with this- and you'll get less lag spikes to boot.
 

zedekblue

Active Member
May 16, 2013
34
3
33
PermGen space is not the same thing as RAM, so increasing the RAM won't help. For some reason, the FTB launcher doesn't seem to have a setting to change it, but MultiMC does. If you install MultiMC, go into its settings menu, and check the box labeled "Track FTB Instances", you should see all the FTB packs you've installed show up on the main MultiMC screen. If you then click on Resurrection, then on "Edit Instance" in the sidebar, and go to Settings, you'll see some memory-related things. Click the box to enable them, and double or triple the PermGen value. Now, when you launch the pack through MultiMC, you should not have any more trouble with this- and you'll get less lag spikes to boot.

I appreciate the help, but I'm trying to run a server, not a client. I'm able to play singleplayer just fine.

In other news, I tried updating java, but now it's just giving me error messages on startup, insisting that it can't run a 64 bit JVM. I had 64 bit installed on java 7, but despite that, I even tried installing the 32 bit on java 8, to no avail. Neither 32 or 64 will work, and I have no idea how to downgrade to java 7 again. :v

Edit: I take that back, I screwed up and installed 32 bit both times, the 64 bit version works perfectly, and even fixed the permgen error. Thanks to everyone who helped!
 
  • Like
Reactions: H3nryum