Gradle task failed!

Status
Fixed
Product/platform
MCreator/Windows
Priority
Normal
Issue description

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corp.), 2009. ‚ᥠЇа ў  § йЁйҐ­л.
D:\1\MCreator174>cd forge
D:\1\MCreator174\forge>SET "JAVA_HOME=D:\1\MCreator174\jdk32\"
D:\1\MCreator174\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
D:\1\MCreator174\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
D:\1\MCreator174\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all…
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.p…
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0…
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all…
Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0…
#################################################
         ForgeGradle 2.2-SNAPSHOT-9cee4a8        
  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
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-…
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-…
:extractDependencyATs SKIPPED
:extractMcpData
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.10.2/mcp-…
:extractMcpMappings
Download https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20…
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.pom
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.pom
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-…
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-al…
Download https://repo1.maven.org/maven2/io/netty/netty-parent/4.0.23.Final/netty…
Download https://repo1.maven.org/maven2/com/google/guava/guava/17.0/guava-17.0.p…
Download https://repo1.maven.org/maven2/com/google/guava/guava-parent/17.0/guava…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.3.2/c…
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/com…
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/32/com…
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.2…
Download https://libraries.minecraft.net/com/mojang/realms/1.9.8/realms-1.9.8.pom
Download https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fas…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-b…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.0-beta9…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debu…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.3/asm-parent-…
Download https://libraries.minecraft.net/com/mojang/netty/1.6/netty-1.6.jar
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-…
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.23.Final/netty-al…
Download https://repo1.maven.org/maven2/com/google/guava/guava/17.0/guava-17.0.j…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.3.2/c…
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4…
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.9/commons-…
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.22/authlib-1.5.2…
Download https://libraries.minecraft.net/com/mojang/realms/1.9.8/realms-1.9.8.jar
Download https://libraries.minecraft.net/it/unimi/dsi/fastutil/7.0.12_mojang/fas…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.0-b…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.0-…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debu…
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 'D:\1\MCreator174\jdk32\bin\java.exe'' finished with non-zero exit value 1
BUILD FAILED
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 9 mins 41.492 secs
D:\1\MCreator174\forge>
Task completed with return code 0 in 583105 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corp.), 2009. ‚ᥠЇа ў  § йЁйҐ­л.
D:\1\MCreator174>cd forge
D:\1\MCreator174\forge>SET "JAVA_HOME=D:\1\MCreator174\jdk32\"
D:\1\MCreator174\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
D:\1\MCreator174\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
D:\1\MCreator174\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
#################################################
         ForgeGradle 2.2-SNAPSHOT-9cee4a8        
  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 'D:\1\MCreator174\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.
BUILD FAILED
Total time: 6 mins 25.983 secs
D:\1\MCreator174\forge>
Task completed with return code 0 in 388014 milliseconds

Помогите исправить ошибку! Пожалуйста!

Issue comments

Try to close as many programs as possible as MCreator does not have enough RAM available. If you have 64-bit computer, install 64-bit version. If you have 32-bit computer, you might not be able to use MCreator at all.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.