Jump to content

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

Love to know the answer to this question. I ended up grabbing the code for the technic launcher off of git hub and was going to mod in permgen but it seems that github is hosting a brand spanking new launcher that does custom modpacks completely differently.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...