Allocating more RAM for minecraft (Other methods were already tried)

Allocating more RAM for minecraft (Other methods were already tried) - Black and Gray Computer Motherboard

I have been trying for ages to get my minecraft to use more RAM, but it refuses to allocate more than 20% ram on my 4G computer. I want to allocate 2G, so the first method I tried was to type this into the JVM Arguments box in the edit profile option in the new launcher. This is what everyone told me to type in:

-Xms2048 -Xmx2048

Unfortunately after typing this in, saving my profile, and running minecraft, I get a window that pops up that says: there was an error in the Java Virtual Machine. Is there anyway I can get minecraft to allocate more RAM? I also tried going to Java and changing the settings there, but it still didn't work.



Best Answer

This may because you are running a 32-bit operating system and Minecraft only allows itself to use 1.5bgs of ram when using a 32-bit version of Java, and the reason why I know this is because of me trying to play Feed the Beast with a 4gb 32-bit computer. It says when you launch the Feed the Beast launcher that "Your system is using a 32-but version of Java. This will limit Minecraft to 1.5gb of RAM." I found this page because I was wondering if there was a way around this error popping up without upgrading to a 64-bit version of Java.




Pictures about "Allocating more RAM for minecraft (Other methods were already tried)"

Allocating more RAM for minecraft (Other methods were already tried) - Flocks of Sheep Eating Grass
Allocating more RAM for minecraft (Other methods were already tried) - Green Motherboard
Allocating more RAM for minecraft (Other methods were already tried) - Shallow Focus Photography of Sheep



How do I force Minecraft to use more RAM?

Select "Minecraft." 3. Scroll down to "Java Settings" where you'll see "Allocated Memory" with a slider. From here, simply drag and drop the orange ball on the slider to your preferred RAM allocation.

Does allocating more RAM to Minecraft increase performance?

Allocating more RAM to Minecraft can do two things: If the game's performance is being limited by a lack of available RAM, it will ease that possible performance bottleneck.

How do I change my allocated RAM for Minecraft?

How to Allocate More RAM to Minecraft
  • Check the available RAM on your PC. Right click Windows Start menu and choose Settings.
  • Toggle on the JVM arguments switch. Start the Minecraft Launcher by double-clicking the Minecraft icon on your PC. ...
  • Adjust RAM for Minecraft. Then you should see a line of text like -Xmx1G.


  • Why can I not allocate more RAM to Minecraft server?

    If you do not have the right version of Java installed, you won't be able to allocate more than the default amount of ram to the game. If you are wanting to allocate more ram, download Java 8 64 bit first. You can download it here. Open Minecraft and go to the Installations tab.



    How To Allocate More RAM to Minecraft 1.19 (Add More RAM to Minecraft 1.19!)




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Valentine Tanasovich, Joan Costa, Pixabay, Dan Hamill