Minecraft – Why isn’t Minecraft using the full amount of RAM

minecraft-java-edition

Before you jump to conclusions, I've tried to solve this before asking.

I cannot seem to get Minecraft to go above 5% of the allocated memory. Here's what I've done: set the max fps to like 130, updated Java, allocated like 8 gigs of RAM using the -xmx thing, and installed optifine. There is no reason my computer should lag on Minecraft. I have a GTX 980M and 16gb of RAM.

Is there some way that I can tell my computer to use more than like 400MB of RAM on Minecraft? Thanks.

Best Answer

Check if your integrated graphics are being used for Minecraft.

  1. Right click on the desktop and open nvidia control panel (or you can go find the nvidia icon on the taskbar)

  2. Navigate to "manage 3D settings" drop down under 3D settings.

  3. Under the global settings tab, underneath preferred graphics processor, change it from auto detect to high performance graphics processor.

This will make your default graphics processor your GTX 980m.


For checking your power options:

  1. Search for "Power Options" in the search bar or search feature (Windows 10/8). Otherwise, navigate to it through the control panel.

  2. Click Change plan settings next to the power plan you wish to use.

  3. Click Change advanced power settings.

  4. Choose your desired settings then click Apply.

  5. Click OK to save your changes.

I recommend using balanced, as this will keep the CPU from running full speed when it doesn't need to (like when the computer is idling), but will speed up the CPU when it's under load, such as playing a game. I belive there is one set of power rules for when the laptop is plugged in and when it is running on the battery, so be sure to check both. Note thay when you are running on battery power, using the high performance option will drastically lower your battery charge time.

Hopefully this solves your lag problems. When hardware is being limited due to being on a low power mode, the symptoms you describe can occur. A GTX 980m should have no problem running Minecraft.