Topic category: Troubleshooting, bugs, and solutions
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 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.
Isn't there another way?
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!
Matej thank you!
It now says: