I need help with opening MCreator

Started by HenriquEz_ on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with opening MCreator

   When i open MCreator, recently installed, MCreator download forge, all ok, and when installing forge and dependencies, get Gradle Task error, that says Gradle Task failed and MCreator, was not able to detect the reason for the error.

    So i can't create any mod because i'm forced to close MCreator, and he send me to the support.

The log of the forge error ------>

  
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [versÆo 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows 32bit>cd forge
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows
      32bit\forge>SET "JAVA_HOME=C:\Users\Usuario\Desktop\MCreator 1.7.4 [1.10.2] Windows 32bit\jdk32\"
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows 32bit\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows 32bit\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows
      32bit\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
#################################################
         ForgeGradle 2.2-SNAPSHOT-9bc34b4       
  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\Usuario\Desktop\MCreator 1.7.4 [1.10.2] Windows 32bit\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
BUILD FAILED
Total time: 4 mins 25.926 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Users\Usuario\Desktop\MCreator
      1.7.4 [1.10.2] Windows 32bit\forge>
Task completed with return code 0 in 267493 milliseconds

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This means you are…
Mon, 07/16/2018 - 18:25

This means you are allocating more RAM that is available. You are trying to allocate 3gb of ram. Try these:

  • Download 64 bit java from here (External links to java downloads)
  • This one might be a bit hard to do. In the minecraft profile, under java settings, check the box beside 'Executables' and enter this link: C:\Program Files\Java\jre<VERSION>\bin\javaw.exe
  • Allocate less ram in Preferences > Gradle Settings

Sorry I couldn't get a solution that will work 100%.

Hope this helps.