How to allocate more RAM to Minecraft

Allocating more RAM to Minecraft allows the game to load demanding texture packs.

  1. Check your computer’s available RAM: you can’t allow more memory than the amount present in your system.
  2. Open the launcher and head to Launch options
  3. Enable Advanced settings and then open your profile
  4. Enable JVM Arguments and replace everything with -Xmx2G

Now replace the 2 with the amount of RAM you need.

For example: if you need 4GB, paste -Xmx4G. If you need 16GB, paste -Xmx16G.