Topic category: Troubleshooting, bugs, and solutions
I havent been using MCreator for a while now and it said that i should download the newest version of the program and i did. Then it said Gradle task failed! I reinstalled it like 100 times.
Heres the error log:
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator175765>cd forge
C:\Pylo\MCreator175765\forge>SET "JAVA_HOME=C:\Pylo\MCreator175765\jdk32\"
C:\Pylo\MCreator175765\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175765\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175765\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-7f5a769
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.
BUILD FAILED
* WhatExecution failed for task ':decompileMc'.
went wrong:
Total time: 1 mins 17.642 secs
> Process 'command 'C:\Pylo\MCreator175765\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175765\forge>
Task completed with return code 0 in 78072 milliseconds
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Med ensamr„tt.
C:\Pylo\MCreator175765>cd forge
C:\Pylo\MCreator175765\forge>SET "JAVA_HOME=C:\Pylo\MCreator175765\jdk32\"
C:\Pylo\MCreator175765\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175765\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175765\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-7f5a769
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.
BUILD FAILED
* WhatExecution faiTotal time: 1 mins 18.34 secs
led for task ':decompileMc'.
went wrong:
> Process 'command 'C:\Pylo\MCreator175765\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175765\forge>
Task completed with return code 0 in 78797 milliseconds
Your issue is memory limits, I'm thinking.
You need to adjust MCreator's -Xmx1024m argument to specify more RAM. You can also do this through the Java control panel globally I believe.
@#1 How do you do that?
There are a couple of ways to do it. But first, I'm curious. Are you running 32-bit or 64-bit Windows 10? Also, are you you running 32-bit or 64-bit Java? How much RAM is in your machine?
64, win 10, 64 and 16 RAM