I'm running modded Minecraft via Twitch, a custom 1.12.2 mod profile. I've set the amount of memory to 6 GB using the Twitch profile editor (third attachment), and the JVM arguments in the actual Minecraft launcher match what I set in Twitch: "-Xmx6149m -Xms256m -XX:PermSize=256m". However, when I actually launch the game, it only shows a total of 5,467 MB of memory total, both on the Forge loading screen (first attachment) and in-game in the F3 debug menu (second attachment). See my screenshots below. Why won't Minecraft run with the actual memory settings I set it to?
(Yes, I know 6,149 MB isn't exactly 6 GB, but the slider is too touchy and just won't stop right on 6,144 MB.)
Mine does the same, i think its just a way the client and java read the allocation, aslong as your not running out of ram needed, your screenshot shows 54% used, its more of an annoyance or bug that an issue really
When you set those arguments, you're not setting how much memory is allocated to minecraft, you're setting the maximum amount of memory that the JVM will use.
Minecraft is reading how much memory the JVM currently has made available for it. The JVM may decide not to allocate memory from the system that it doesn't need. Also, the JVM itself needs some memory.
This is completely normal and you shouldn't try to change it.
Rollback Post to RevisionRollBack
My Github ด้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้дด็็็็็้้้้้็็็็้้้้้็็็็็้้้้้็็็็็้้้้้็็็็็้้้้้