Jump to content

Recommended Posts

Posted

We are in the cusp of releasing an update to our modpack and have hit up on a snag. The default ceiling for the permanent generation of 256M on the launcher is falling short of our needs.

Our testers are experiencing sluggish performance and crashes (see below) while testing our pack through the Technic Launcher (testing through the MagicLauncher with a MaxPermSize of 512M the pack plays smoothly)

Given that adding more/bigger mods = more objects/classes fitting on the perm gen, and this being core to the Technic Platform. I would like to request one of these following solutions:

  • Increase the ceiling of the Perm Gen to 512M to allow for the release of packs that require such perm gen sizes.

  • Add a setting on the modpack edit page where pack builders can set their pack's required Perm Gen size.

Thank you for your consideration.

Log of said crashes:

2014-01-15 16:23:48 [iNFO] [Minecraft-Client] Stopping!

2014-01-15 16:23:48 [iNFO] [sTDOUT]

2014-01-15 16:23:48 [iNFO] [sTDOUT] SoundSystem shutting down...

2014-01-15 16:23:49 [iNFO] [sTDERR] Exception in thread "Client read thread" java.lang.OutOfMemoryError: PermGen space

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.misc.Unsafe.defineClass(Native Method)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.ClassDefiner.defineClass(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at java.security.AccessController.doPrivileged(Native Method)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.MethodAccessorGenerator.generate(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.MethodAccessorGenerator.generateConstructor(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at java.lang.reflect.Constructor.newInstance(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at java.lang.Class.newInstance0(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at java.lang.Class.newInstance(Unknown Source)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at net.minecraft.network.packet.Packet.func_73269_d(Packet.java:87)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at net.minecraft.network.packet.Packet.func_73272_a(Packet.java:152)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:325)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:549)

2014-01-15 16:23:49 [iNFO] [sTDERR]    at net.minecraft.network.TcpReaderThread.run(SourceFile:94)

2014-01-15 16:23:50 [iNFO] [sTDERR] Exception in thread "Thread-94" java.lang.OutOfMemoryError: PermGen space

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.lang.ClassLoader.defineClass1(Native Method)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.lang.ClassLoader.defineClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.security.SecureClassLoader.defineClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.net.URLClassLoader.defineClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.net.URLClassLoader.access$100(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.net.URLClassLoader$1.run(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.net.URLClassLoader$1.run(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.security.AccessController.doPrivileged(Native Method)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.net.URLClassLoader.findClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:113)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.lang.ClassLoader.loadClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at java.lang.ClassLoader.loadClass(Unknown Source)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at com.google.common.hash.MessageDigestHashFunction.newHasher(MessageDigestHashFunction.java:84)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at com.google.common.hash.AbstractStreamingHashFunction.hashString(AbstractStreamingHashFunction.java:41)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at org.modstats.reporter.v1.DataSender.getSignature(DataSender.java:138)

2014-01-15 16:23:50 [iNFO] [sTDERR]    at org.modstats.reporter.v1.DataSender.run(DataSender.java:265)

2014-01-15 16:23:50 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

2014-01-15 16:23:50 [iNFO] [sTDOUT]

2014-01-15 16:23:52 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" Exception in thread "Thread-1" java.lang.OutOfMemoryError: PermGen space

2014-01-15 16:23:52 [iNFO] [sTDERR] java.lang.OutOfMemoryError: PermGen space

Posted

Geez, i remember when my pack would barely run on 256m because we had around 200 mods, looks like you have a similar situation here. Maybe consider lightening up the pack for people with not so beefy computers? That's what i did and I have a much bigger audience now.

Posted

This is something we can look at, but I guarantee that you can reach the 256M ceiling. Here's a tip: take everything not galacticraft and remove the UE API from it. The UE API takes up a shitton of permgen space and it will take up that space once for each mod that includes the API. You only need it once, though.

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...