Mcreator 1.7.9 Java JVM used by graddle ran out of memory

Started by xXEndermiteXx on

Topic category: Help with MCreator software

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator 1.7.9 Java JVM used by graddle ran out of memory
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit>cd forge
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET "JAVA_HOME=C:\Users\ToxicXender\Desktop\Things\Minecraft Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit\jdk\"
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET "GRADLE_USER_HOME=C:\Users\ToxicXender\.mcreator\gradle"
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1536000KB object heap
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit\forge>
Task completed with return code 0 in 10399 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit>cd forge
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET "JAVA_HOME=C:\Users\ToxicXender\Desktop\Things\Minecraft Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit\jdk\"
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>SET "GRADLE_USER_HOME=C:\Users\ToxicXender\.mcreator\gradle"
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 
      32bit\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1536000KB object heap
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Users\ToxicXender\Desktop\Things\Minecraft 
      Stuff\MCreator 1.7.9 [1.12.2] Windows 32bit\forge>
Task completed with return code 0 in 10849 milliseconds

 

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This step is not needed but…
Mon, 07/16/2018 - 17:13

This step is not needed but I would do it to prevent it from eating all your memory and wanting more

  1. Go to task manager (Either CTRL+SHIFT+ESCAPE or windows+r and type in taskmgr)
  2. Go to the performance tab
  3. Click on memory
  4. On the top left it will show the amount of memory you have (like 6gb DDR3). Do not go over or near this limit.

And to change the memory:

Go to Preferences located top-right. Go to gradle settings and change the memory.

 

Hope this helps.