Lots of mods = Shutting Down Internal Server

Status
Not open for further replies.

Recon

New Member
Jul 29, 2019
408
0
0
Ok I'm trying to set up my own custom modpack, using MultiMC since the FTB launcher does not let me do this for some reason.

I'm trying to use the Direwolf20 1.5 beta pack as a base. I have been adding mods one at a time to my custom pack and what inevitably happens is when I get enough mods installed, minecraft shuts down when trying to load a new world.

To be clear: I am beginning by just trying to recreate a pack on MultiMC that is identical to the DW20 pack. I get pretty close to adding all the mods. Maybe 3 or 4 left to go. Then suddenly it refuses to load up a world. I've tried increasing the RAM allocated in MultiMC but it doesn't have an effect at all. At first I thought it was an incompatibility between mods or something, but I can remove any mod from my pack and it works. Doesn't matter which one. If I am at the threshold of the max amount of mods, just adding one makes it break. Removing any other one fixes it.

So what gives? I know the pack works because it loads just fine in the FTB launcher. The problem is I have to use MultIMC because I want to add another dozen or so mods that aren't in the DW20 pack but I use them.

Help.
 

Recon

New Member
Jul 29, 2019
408
0
0
Here's what I get as it crashes. Note the OutOfMemoryError. This, even though I'm allocating 4GB and have not even used a texture pack yet.

Code:
2013-07-28 22:19:36 [INFO] [STDERR] java.lang.NoClassDefFoundError: net/minecraft/world/CallableLvl2
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.world.World.func_72914_a(World.java:4401)
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:573)
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:127)
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
2013-07-28 22:19:36 [INFO] [STDERR]     at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
2013-07-28 22:19:36 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.world.CallableLvl2
2013-07-28 22:19:36 [INFO] [STDERR]     at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
2013-07-28 22:19:36 [INFO] [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)
2013-07-28 22:19:36 [INFO] [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)
2013-07-28 22:19:36 [INFO] [STDERR]     ... 6 more
2013-07-28 22:19:36 [INFO] [STDERR] Caused by: java.lang.OutOfMemoryError: PermGen space
2013-07-28 22:19:36 [INFO] [STDERR]     at java.lang.ClassLoader.defineClass1(Native Method)
2013-07-28 22:19:36 [INFO] [STDERR]     at java.lang.ClassLoader.defineClass(Unknown Source)
2013-07-28 22:19:36 [INFO] [STDERR]     at java.security.SecureClassLoader.defineClass(Unknown Source)
2013-07-28 22:19:36 [INFO] [STDERR]     at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227)
2013-07-28 22:19:36 [INFO] [STDERR]     ... 8 more
2013-07-28 22:19:37 [INFO] [Minecraft-Server] Stopping server
2013-07-28 22:19:37 [INFO] [Minecraft-Server] Saving players
2013-07-28 22:19:37 [INFO] [STDERR] java.lang.NoClassDefFoundError: net/minecraft/entity/CallableEntityType
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.entity.Entity.func_85029_a(Entity.java:2501)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.entity.Entity.func_70109_d(Entity.java:1596)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.integrated.IntegratedPlayerList.func_72391_b(SourceFile:22)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.management.ServerConfigurationManager.func_72389_g(ServerConfigurationManager.java:888)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:374)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.integrated.IntegratedServer.func_71260_j(IntegratedServer.java:240)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:523)
2013-07-28 22:19:37 [INFO] [STDERR]     at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
2013-07-28 22:19:38 [INFO] [STDERR] Exception in thread "Server thread" java.lang.OutOfMemoryError: PermGen space
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Well there are lots of reasons it could crash. I'd conflicts. Certain mods not playing well together. Missing dependency files. Etc.

Personally, just to do it, I've had around 170 mods in one pack, so it's not multimc. Pay attention to what the crash reports say. Making a modpack is more work than putting 30 mods in an instance and clicking play.
 

Recon

New Member
Jul 29, 2019
408
0
0
Of course. I'm aware of the standard challenges of making a mod pack. Its not ID conflicts because I know which mods have those and I have not added those yet. Its not about compatibility because I'm only adding the mods that are already working well together in the FTB DW20 1.5 pack.

Like I said, its definitely the NUMBER of mods I'm adding. Adding too many breaks it. Removing some of them fixes it after its broke. So once I've added one too many mods, I can remove any one of them and it'll work again. That, plus it literally says out of memory error, and even if I try to allocate 5GB it changes nothing. Does the MultiMC memory allocation field not work? Looking for answers but not seeing any.

Actually, the very first thing I tried was to IMPORT the DW20 mod pack directly into MultiMC using the feature which allows this. The pack did not run.
 

Recon

New Member
Jul 29, 2019
408
0
0
Ok I fixed it by typing this in the JVM Arguments field of MultiMC

-XX:MaxPermSize=128m

increasing the memory allocation didn't do anything but this fixes it. I had to do some digging to find someone else who had a similar problem and someone posted this as a solution. Works now. Would be nice if this was better documented I think.
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Yeah, perm size is needed for lots of mods. My jvm arguments I use are listed in a spoiler somewhere in my profile.
 

Recon

New Member
Jul 29, 2019
408
0
0
Wow ok. Yeah for those of use who avoid Java at all costs with the exception of when its absolutely needed (as in Minecraft) we don't typically know about how to fix these types of obscure problems. Google FTW I guess.
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Unfortunately. That's true.

Jvm arguments typically need to be tailored to a specific system. Which makes just giving a general set of them problematic at best. Java sets most of them to a default value, but sometimes it's just not enough.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
Ok I fixed it by typing this in the JVM Arguments field of MultiMC

-XX:MaxPermSize=128m

increasing the memory allocation didn't do anything but this fixes it. I had to do some digging to find someone else who had a similar problem and someone posted this as a solution. Works now. Would be nice if this was better documented I think.

I was going to tell you to read the link in my signature about java, but you figured it out. :)

Read it anyways cause there are some Java arguments you missed. :D
 
  • Like
Reactions: Eyamaz

Blu_Haze

New Member
Jul 29, 2019
25
0
0
The problem is I have to use MultIMC because I want to add another dozen or so mods that aren't in the DW20 pack but I use them.

Just wanted to point out that you actually can add all the extra mods you want using the FTB launcher.

Run the launcher, select the mod pack that you want to use (in your case the DW20 pack), then click the "edit mod pack" button near the top. That will bring up a new window with all of the mods used in the pack and allow you to change them. Select the tab at the top which represents the type of mod you're wanting to deal with (mods, jarmods, coremods, etc), then click the "add mod" button on the lower right corner.

Alternatively you can always add mods to the pack the old fashioned way by just plopping the zip file into the mods folder of the FTB installation.
 

Recon

New Member
Jul 29, 2019
408
0
0
Yeah I know I can do it that way but in that case I can have ONLY one instance. Plus I can't run it as-it-was anymore. Plus, whenever there's an update, it'll nag me to do the update, which would erase all my changes. The FTB modpack launcher just isn't made for building your own modpacks, it seems.
 
Status
Not open for further replies.