Invalid RAM allocation detected

Published by Moscow on
Status
Resolved
Issue description

it's my first time using this program and i can't even start it! 
it's says "error code:java_xms_invalid_value" i have no idea on how to solve this, please help

 

Issue comments

Did you tweak preferences? Open MCreator and open preferences before opening any workspace and set minimal and max RAM to proper values (max > min) in Gradle section, save changes and then open a workspace.

Same, I tried changing the initial and maximum values but nothing changes. Older versions of MCreator worked before for me.

What are your min and max settings?

Make sure you don't have a global system environment variable called "_JAVA_OPTIONS" defined too.

You are welcome! I am glad I could help :) If you like what we do, consider donating to us to help us keep this project up.

i cant do anything on my task it says it doesnt have enough ram (wwe rund out of ram) how can i fix this?

 

ik this is old, but im having the same problom and i dont understand what you mean by definitions in this sentence : "Make sure there are no definitions of it for any user nor global and then reboot computer."

same, but idk where to check for the JAVA_OPTIONS enviroment variable

I also don't know what "Make sure there are no definitions of it for any user nor global and then reboot computer." means

Five Simple Steps to resolve Invalid RAM allocation detected error in mcreator

 

Step 1 : Press windows button on your keyboard, it will open search bar.

Step 2 : Now type "enviro" in the search bar of windows, and then click the first option (don't type the whole thing).

Step 3 : Then find and select "_JAVA_OPTIONS" then delete it.

Step 4 : Press on ok once deleted.

Step 5 : Reboot(restart) your laptop or pc.

 

Now open the application and it should work normally now.

Step 2 : Now type "enviro" in the search bar of windows, and then click the first option (don't type the whole thing).

 

Is it a folder because what i get is the environment folder for hoi4