I am having a bit of trouble with my Minecraft and it's ram usage. I am getting this error when I run the live unmodified client and when I run forge.
Simply put: I am allocating 5-10Gs of ram for minecraft via the launcher. When I get in game however, it's only allocating about 2Gs. Sometimes more and sometimes less. If I move around the world playing it will slowly increase over time but still not near the amount I specify. I have 24Gs of ram and have nothing running in the background when I attempt this so I really don't understand the problem. Any help would be appreciated.
If you are using the -Xmx argument to Java, that simply indicated the maximum amount of memory that can be allocated. If the game hasn't needed that much yet, it won't all be allocated. The -Xms argument forces the given amount to be allocated at startup.
In general, you don't need to force the memory to be allocated, as if the game never uses it, it just is wasted.
I am having a bit of trouble with my Minecraft and it's ram usage. I am getting this error when I run the live unmodified client and when I run forge.
Simply put: I am allocating 5-10Gs of ram for minecraft via the launcher. When I get in game however, it's only allocating about 2Gs. Sometimes more and sometimes less. If I move around the world playing it will slowly increase over time but still not near the amount I specify. I have 24Gs of ram and have nothing running in the background when I attempt this so I really don't understand the problem. Any help would be appreciated.
This problem occurs with both 1.10 and live.
If you are using the -Xmx argument to Java, that simply indicated the maximum amount of memory that can be allocated. If the game hasn't needed that much yet, it won't all be allocated. The -Xms argument forces the given amount to be allocated at startup.
In general, you don't need to force the memory to be allocated, as if the game never uses it, it just is wasted.
Thanks that did the trick!