Unable to Run MCreator due to a Gradle Error

Started by neonsilver11 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 13:36, 13. Oct 2019
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unable to Run MCreator due to a Gradle Error

Here is the error report:    
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk32\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-eb2e450       
  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:\Pylo\MCreator171\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: 9 mins 7.609 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 551204 milliseconds

 

I have no idea what any of this means or what to do about it.  Can anyone help?

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that you need to set
Tue, 05/23/2017 - 04:24

I think that you need to set more RAM to MCreator

Last seen on 11:13, 20. Mar 2019
Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, MCreator needs more RAM
Tue, 05/23/2017 - 18:57

Yeah, MCreator needs more RAM. Set it in the preferences.