For a long while i've had an annoying issue with how MC dumps it's memory when I have multiple mods installed. At first it seemed like the answer was just to add more RAM, however all that did was serve to provide a bigger dump, resulting in a MASSIVE FPS drop which essentially freezes the game for maybe 2 whole seconds every 20 seconds or so.
It doesn't seem like that big of a deal on paper, but when you're walking outside your home, and a Creeper catches you on your blindside and the memory dump occurs? Congrats, you have a new hole in the side of your home.
I've died too many times from that example alone not to mention while fighting withers and other modded in bosses.
Needless to say I've had enough of that...
I've come to a possible conclusion for my problem, but I have no idea how to implement it unfortunately, and I need some help with that.
The box highlighted in yellow details part of my issue; the Used Memory will continue to climb rapidly until it peaks at around 88-95% at which point it commences its dump and resets back to around 15-25% The dump is what I mentioned above which is causing me some performance issues. As mentioned above i've also tried increasing the allocated memory to upwards of 12gig however it just means a larger dump and longer wait during said dump.
So what I've noticed when playing modpacks is that the Allocated memory is always throttled (usually at around 50% while mine rests at 100%) which means I experience many more memory dumps but very little time passes during the dump, with practically no FPS drop whatsoever. Simply because the memory is making more loops but has less to deposit at each loop.
That Red Box which has the Allocated Memory is what I want to manipulate, however I have no idea on how to do that... So if some could point me in the right direction or give me some steps to follow, i'd very much appreciate the help.
I don't know if this will even solve my issue, but it's the closest i've gotten to a solid theory on my problem.