Jump to content

Permgen space problem


Netherus

Recommended Posts

Sup guys

Ive been playing around with tekkit for a while now and decided to add more mods, problem is java only dedicates 87mb to permgen space and with many mods you quickly run out of this room

now i can run minecraft with special commands through a .bat file and increase the permgen space and to automaticly cleanup the crap in permgen space

Yet this doesnt work with tekkit since i cant find a way to run tekkit with special commands like:

-XX:MaxPermSize=128M, -XX:+CMSClassUnloadingEnabled,

-XX:+CMSPermGenSweepingEnabled and -Xms2048m -Xmx4096m ofc

so how exactly do i run my tekkit client with those commands

Link to comment
Share on other sites

  • 2 weeks later...

I found it was pretty easy to unzip the launcher jar file, use jd-gui to decompile org.spoutcraft.launcher.Main and save the source to Main.java, then add a line such as

  params.add("-XX:MaxPermSize=128m");

in the reboot method. Then recompile using jdk 1.6 from the top level of the folder the jar file was unzipped into.

e.g. javac org/spoutcraft/launcher/Main.java

I'd post a jar file but that's against forum rules without admin permission. Hopefully this tip will hold people over until they release the new launcher.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...