MCreator for 1.12 gives error when starting

Started by cristianda05 on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator for 1.12 gives error when starting

Hello. I just downloaded MCreator for Minecraft 1.12 and everytime i open that,MCreator gives error. I don't know why,i didn't touch anything.

Here's the log:

   
   
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tutti i diritti riservati.
C:\Users\Fabrizio\Desktop\Cristian\MCreator112>cd forge
C:\Users\Fabrizio\Desktop\Cristian\MCreator112\forge>SET "JAVA_HOME=C:\Users\Fabrizio\Desktop\Cristian\MCreator112\jdk32\"
C:\Users\Fabrizio\Desktop\Cristian\MCreator112\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\Fabrizio\Desktop\Cristian\MCreator112\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\Fabrizio\Desktop\Cristian\MCreator112\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-f49079d        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Users\Fabrizio\Desktop\Cristian\MCreator112\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
BUILD FAILED
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 3 mins 43.525 secs
C:\Users\Fabrizio\Desktop\Cristian\MCreator112\forge>
Task completed with return code 0 in 224540 milliseconds

 

(I downloaded MCreator using the rar version)

Please use the 64-bit…
Sat, 12/09/2017 - 09:15

Please use the 64-bit version of MCreator if you can. Minecraft Forge is sadly increasing the amount of ram you need for decompilation, therefore, the 32-bit version doesn't work most of the times.

Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Isn't there another way?
Sat, 12/09/2017 - 20:55

Isn't there another way?

You could try to increase…
Tue, 12/12/2017 - 16:21

You could try to increase the MCreator's RAM in the preferences file. The file is located in *mcreator_install_folder*/user/preferences.conf. Open the file and add the following lines:

xms=512
xmx=2048

Hope this helps you solve your problem.

Happy modding!

Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It now says:…
Sat, 01/27/2018 - 14:29

It now says:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tutti i diritti riservati.
C:\Mcreator_1.12.2>cd forge
C:\Mcreator_1.12.2\forge>SET "JAVA_HOME=C:\Mcreator_1.12.2\jdk32\"
C:\Mcreator_1.12.2\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Mcreator_1.12.2\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Mcreator_1.12.2\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx2048m" 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 2097152KB object heap
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Mcreator_1.12.2\forge>
Task completed with return code 0 in 2041 milliseconds