Okay, nobody's crazy like me. I made a modpack that might be used in my own stream next month, but I started this early to get permissions from mod creators. My pack has like 254 mods on 1.12.2!
My problem is: Twitch doesn't allow me to set the RAM higher than 12GB. I overwritten it in the "minecraftinstance.json" but it overwrites my changes when I clicked "play". It updates both the "last-played" and "memory" values. But my pack isn't happy with 12GB of ram, and I'd like to set it up to 16GB. I know what I'm doing and 16GB is totally affordable since I have 64GB in general.
How to work around this limit?
P.S. Please do not suggest editing the memory manually every single time, that's stupid. We all want automation and that's why we choose Twitch Desktop App for creating modpacks, to make our lives easier, aren't we?
254 mods aint shit, base project ozone 3 has 320 before I add about 90 more personally..
And I run that on 8gb flawlessly.
You do not need 12gb or 24gb. More ram is NOT better, you want as little as possible to where it's about 80%-85% full (after garbage collection) with a world loaded at 12 render distance. Java/the JVM does not like having enormous heaps, you will get lower fps from bigger ram settings; and when it does garbage collection (with the default jvm settings) you might crash, freeze client for several seconds (or longer) or even time out from your own singleplayer server.
8gb is probably overkill, try 6144mb(6gb) with this jvm arguments