mojira.dev
MC-193570

No matter how much RAM is assigned, Minecraft still seems to use 2GB

No matter how much RAM is assigned, Minecraft still seems to use 2GB

What I expected to happen was...:
The amount of RAM Minecraft uses would increase

What actually happened was...:
Nothing

Steps to Reproduce:
1. In the Minecraft launcher, go to Installations > [Any installation] > Edit > More Options > JVM Arguments

2. Change the 2 in the first "-Xmx2G" to something higher

3. Open Minecraft using said installation

4. Go into a world and open the F3 screen

5. The second row on the right side will claim that Minecraft only has 2048MB total RAM

Attachments

Comments 6

Please provide the full text that is currently in the "Java Arguments" line.

-Xmx12G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

If somewhere other than a comment would be better for additional information after the initial report, that'd be good to know

Are you using the Twitch launcher or any other third party launcher?

I was opening the launcher through Steam. However, I just tried opening the launcher from my desktop and I still have a similar problem.

[media]

Please check the Technical Support Resources, or the Community Support Discord - please note that technical support for Minecraft is done by volunteers, so please be patient if you do not receive an answer right away. If the team is unable to help you, please leave another comment here.

Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord

I was able to get it working. I had to go to my environmental variables and delete _JAVA_OPTIONS

The Great Autismo

(Unassigned)

Unconfirmed

20w27a

Retrieved