I've been working on assembling my own mod pack over the last few days. I've done this before a few times, but today I'm encountering an issue I never have. The mods load just fine, but after only a few seconds the world starts to lag immensely, usually resulting in the game freezing or crashing. From everything I can tell, the problem is the game running out of memory. The top-right corner of the F3 menu hovers around 90%-93% memory used, and a couple of the crash reports have mentioned a problem with running out of memory. I've included a screenshot of the list of all of the mods I have installed. If there's an easy way to cut down on memory usage that I'm not aware of, or if there's a way I can configure any of them to use less memory, it would be great if anyone could let me know about those. Otherwise, I'm not entirely attached to this list, so if you know of any particular problem mods I should get rid of, let me know about those as well. Thanks.
How much memory does your system have and how much do you allocate? 1.10+ was when I noticed Minecraft's memory requirements getting bigger to the point of my old system not being able to use about 20 or so mods, many small but a few big, while in 1.7.10 or 1.8.9 it was fine. 1.10+ Minecraft itself and adding Forge on top and mods does make things awkward (I'm no expert but obviously it depends on mods and many factors. I just know from using many mods and watching the loading bar and balancing things out from 1.10+ since the game has gotten bigger with more features in Vanilla and how much Forge or mods add on top of the game, even 1.14 with Forge has been unplayable for me but 1.14 and Fabric since Fabric is lightweight hasn't been as much a problem).
Your pack so far is fairly light but it has a few big mods in there (many I'm familiar with), but depending on your system I can't really tell what's up with it. My system could run that fairly well I'd say and it's really nothing special (a few more bigger mods or a few days in game and it might not work out if I didn't space out machines or explored a fair amount but it would be just how I play the game still).
For me it's more so the larger the mods due to assets the game has to load or mods that apply to world gen (oil, ores, mob spawning, new biomes, etc.) or later game when I have too many machines does it happen to use up memory. For the amount of mods you have (at least from my experience with my system) it seems reasonable and many mods I would have used before I went to the more niche side in recent years.
I'd suggest considering these aspects:
Have you tried with the same world or a new one every time when attempting?
What render distance, smooth lighting, Vsync and other settings do you have active or high? (This includes Optifine and Vanilla settings).
What stage does it get to when loading the mods that the memory running out is noticeable (besides when your creating a new world or using the same world and the debug screen states how much)?
A few screenshots, videos or descriptions showing this would help out. Like anything showing a high point when loading the mods and when your in the world.
Otherwise go about mods and what content you really want if it's too much for you. Sure you could upgrade your actual RAM or go into the settings and allocate more but it's not always necessary to do so. I myself could run 4GB+ and about 50 or so mods but I never like to due to how much my system copes (even though I have 8GB which is enough to play a pack sometimes that big and run Windows or other apps/tasks) but I find I don't need 50 to 100 to have fun and I make my own to get more out of things that are themed or have less assets to load or similar features I want but not 90% of others I don't use (like utilities mods for example where there is so much but I only use like 1 or 2 of the features in the mods so I get a smaller one that does just that) rather than use pre-made that I know are for higher end PCs or veteran players and using the mods many people know.
If you can show some results or balance the pack out I can help. But this is my experience at least with my old/current system and what I do when making custom modpacks these days.
Right now my computer has 8gb of RAM with 2gb allocated for Minecraft. I'll try allocating more when I can and tell you how that goes.
I have been trying multiple worlds but I get the same results every time - The world generates as normal (maybe a bit slowly, but a normal amount of time for modded) and as soon as I start to do anything the game encounters massive lag spikes punctuated by maybe a second at a time of actual playable speed.
I did initially try lowering my graphics settings, but switching some of the settings seems to lag out the menu to the point of having to quit the game.
I'll grab some screenshots and let you know more when I can.
Your welcome. Hmm, 2GB usually is what I stick with even for a modpack that size but maybe it is a bit big, but good luck if adding more helps. I might get all the mods you have in your pack and see if I can run it as it seems possible but I could be wrong and am just thinking things.
Hmm fair enough.
That can happen, I don't use Optifine I just lower smooth lighting, setting graphics to fast, brightness to high and many others off, sometimes particles (only if I'm not doing a mod spotlight and playing in survival modpacks) But it doesn't change too much.
That would be great, like I said above I'll trying running the same mods and seeing if I can run it and find out what might be causing the most difficulty on memory over others.
Rollback Post to RevisionRollBack
Forum Thread Maintainer: Asphodel Meadows, Fabric Project, Legacy Fabric, Power API, Rift/Fabric/Forge 1.13 to 1.17,
Niche Community Content Finder, Youtuber, Modpack/Map Maker, Duck