Netherus Posted February 15, 2013 Posted February 15, 2013 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 Quote
Martin Smith Posted February 26, 2013 Posted February 26, 2013 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. Quote
Martin Smith Posted February 26, 2013 Posted February 26, 2013 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.