Gradle Task Failed

Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I was instaling MCreator it gives me this error: Grade Task Failed.

Here is the log:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. Todos os direitos reservados.
C:\Pylo2\MCreator178>cd forge
C:\Pylo2\MCreator178\forge>SET "JAVA_HOME=C:\Pylo2\MCreator178\jdk\"
C:\Pylo2\MCreator178\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo2\MCreator178\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo2\MCreator178\forge>SET "GRADLE_USER_HOME=C:\Users\fernandes\.mcreator\gradle"
C:\Pylo2\MCreator178\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-27b9d44        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.HashMap.newNode(HashMap.java:1747)
   at java.util.HashMap.putVal(HashMap.java:631)
   at java.util.HashMap.put(HashMap.java:612)
   at org.jetbrains.java.decompiler.util.VBStyleCollection.addWithKey(VBStyleCollection.java:78)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:114)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:72)
   at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79)
   at org.jetbrains.java.decompiler.util.ClasspathScanner.addAllClasspath(ClasspathScanner.java:43)
   at org.jetbrains.java.decompiler.main.Fernflower.(Fernflower.java:48)
   at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.(BaseDecompiler.java:32)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:64)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)
Picked up _JAVA_OPTIONS: -Xmx512M
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Pylo2\MCreator178\jdk\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: 3 mins 48.034 secs
Picked up _JAVA_OPTIONS: -Xmx512M
C:\Pylo2\MCreator178\forge>
Task completed with return code 0 in 229527 milliseconds

please someone help me!

Issue comments



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.