Open the Minecraft Launcher
Go to Installations
Select the profile you want to change
Click More Options
Find the JVM Arguments field
Locate the `-Xmx` value
Change the number after `-Xmx` to the amount of RAM you want in gigabytes
Example: `-Xmx4G` for 4 GB of RAM
Save the changes
Launch Minecraft
Open the Minecraft Launcher
Go to Installations
Select the profile you want to change
Click More Options
Find the JVM Arguments field
Locate the `-Xmx` value
Change the number after `-Xmx` to the amount of RAM you want in gigabytes
Example: `-Xmx4G` for 4 GB of RAM
Save the changes
Launch Minecraft
Open the Minecraft Launcher
Go to Installations
Select the profile you want to change
Click More Options
Find the JVM Arguments field
Locate the `-Xmx` value
Change the number after `-Xmx` to the amount of RAM you want in gigabytes
Example: `-Xmx4G` for 4 GB of RAM
Save the changes
Launch Minecraft
