Does your minecraft suffer from memory issues? Is it laggy and do you think it’s because of too little RAM being allocated to minecraft? In this tutorial post I’ll show you how to give minecraft more RAM than the standard amount. Just follow the steps below.
Open the minecraft launcher and click installations.
Hover over the minecraft version you want to allocate more RAM to and click the dots button. Then click edit.
Click more options.
Replace the default value at JVM arguments by the following:
This tells Java how much RAM to allocate to minecraft when it launches. ‘4G’ means ‘4 gigabytes’. This mostly is more than enough for vanilla minecraft. Make sure you don’t allocate more RAM to minecraft than your computer has available. Also, don’t allocate all of your RAM to minecraft because then your computer doesn’t have enough RAM available for other processes. If you have a computer with 6GB or more RAM available, the -Xmx4G should work just fine.
Hit save and then this version will be played with the amount of RAM you specified!
If you have any questions, make sure to ask them in the comments and I’ll do my best to answer all of them!