How to increase ram allocation on your minecraft launcher

Here is my guide on how to allocate more ram to your minecraft client. This is useful for when you play with mods that use lots of ram and will stop your game from lagging and crashing.

First get into your minecraft launcher and click launch Options:

Now click on your minecraft profile like so:

Now click and enable JVM arguments:

Now where is says something like this: -Xmx1G change the number to something higher like -Xmx2G So just change where is has a number to something higher. Be sure to check how much ram your pc has first to make sure your pc has enough ram: