Jump to content

Error (decompileMc)


Gonxunator

Recommended Posts

Hello guys,

 

I hope you will find some time to read this topic.

I got this error message after I set the command "gradlew setupDecompWorkspace" in the cmd tool.

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':decompileMc'.

> GC overhead limit exceeded

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

BUILD FAILED

 

If you need any more information from me to analyse the problem, feel free to ask me.

 

I wish you a wonderful day  :),

 

Gonxunator

Link to comment
Share on other sites

Create a gradle.properties file next to build.gradle (if it doesn't already exist) and add this line to it:

org.gradle.jvmargs=-Xmx2G

 

This tells Gradle to run Java with the

-Xmx2G

argument, which sets Java's maximum heap size to 2 GB (enough to decompile 1.8.9).

 

Edit: Fixed the formatting.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.