I am not able to test my mod.

Started by AugustoKModsCr… on

Topic category: Help with modding (Java Edition)

Last seen on 17:33, 6. Jan 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not able to test my mod.
Upon entering the game, mcreator only leaves 881 mb of ram available for the game, so when I enter a map, the game goes out on its own.
Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You don't have enough ram…
Wed, 06/24/2020 - 17:49

You don't have enough ram allocated for MCR to work

Last seen on 17:33, 6. Jan 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how do I allocate more…
Wed, 06/24/2020 - 20:28
But how do I allocate more ram?
Last seen on 23:04, 6. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To allocate more ram you…
Wed, 06/24/2020 - 20:35

To allocate more ram you have to go in the launcher and select the version you are testing your mod with then press "edit" on that version. Then u want to click on "more options" and there will be written:

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

under "JVM ARGUMENTS" then just change the -Xmx2G at the beginning from -Xmx2G to the number of ram you want to allocate for example if you ur computer has 4gb of ram I would recommend doing this:

-Xmx3G the "3G" represents the 3 gigabytes of ram but by default it is set to "2G"

Thats it ;)