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
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.
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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now