Gradle keeps on failing at :recompMinecraft

Started by Strontium on Fri, 02/13/2015 - 22:49

Topic category: Help with modding

Last seen on 01:50, 14. Feb 2015
Joined Feb 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Gradle keeps on failing at :recompMinecraft
Fri, 02/13/2015 - 22:50 (edited)

When starting MCreator for the first time, after factory resets, and after attempting to recompile, Gradle fails at :recompMinecraft. I followed all the troubleshooting steps on the wiki, but to no avail.

Here are my gradle logs:

  <code> >BOOTING UP GRADLE... >Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 5 milliseconds] >RIGHT click once to copy log to the clipboard or twice to clear the log. >=================================================================================================================== >Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies >**************************** > Powered By MCP:              >    > Searge, ProfMobius, Fesh0r,  > R4wk, ZeuX, IngisKahn, bspkrs > MCP Data version : unknown >**************************** >:cleanCache >:clean >:extractMcpData >:getVersionJson >:extractUserDev >:genSrgs >:extractNatives >:copyNativesLegacy >:getAssetsIndex >:getAssets >Current status: 5/686   0% >Current status: 424/686   61% >Current status: 587/686   85% >:makeStart >:downloadMcpTools >:downloadClient >:downloadServer >:mergeJars >:deobfuscateJar >Applying SpecialSource... >Applying Exceptor... >:decompile >:processSources >Injecting fml files >Applying fml patches >Applying forge patches >:remapJar >:extractMinecraftSrc >The system is out of resources. >Consult the following stack trace for details. >java.lang.OutOfMemoryError: Java heap space > at$ > at > at > at > at > at > at > at > at > at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors( > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute( > at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute( > at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute( > at org.gradle.api.tasks.compile.JavaCompile.performCompilation( > at org.gradle.api.tasks.compile.JavaCompile.compile( > at org.gradle.api.tasks.compile.JavaCompile.compile( > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > at java.lang.reflect.Method.invoke( > at org.gradle.internal.reflect.JavaMethod.invoke( > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute( > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute( > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute( > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute( >:recompMinecraft FAILED > at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActi> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions( >BUILD FAILED >FAILURE: Build failed with an exception. >* What went wrong: >Execution failed for task ':recompMinecraft'. >> Compilation failed; see the compiler error output for det>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ails. >* Try: >Total time: 4 mins 22.078 secs >Task completed with return code 1 in 262744 milliseconds </code>

The log makes it *look* like I havent allocated enough RAM, so I ran it again with -Xmx8000m (all of the memory on my computer, 8 GB), only to get the same errors.

Edited by Strontium on Fri, 02/13/2015 - 22:50
0Upvote this forum topic