Jump to content

Recommended Posts

Posted

Hi am a bit new to this and I got this error:

#################################################

        ForgeGradle 2.1-SNAPSHOT-da90449

  https://github.com/MinecraftForge/ForgeGradle

#################################################

              Powered by MCP unknown

            http://modcoderpack.com

        by: Searge, ProfMobius, Fesh0r,

        R4wk, ZeuX, IngisKahn, bspkrs

#################################################

:deobfCompileDummyTask

:deobfProvidedDummyTask

:getVersionJson

:extractUserdev UP-TO-DATE

:extractDependencyATs SKIPPED

:extractMcpData SKIPPED

:extractMcpMappings SKIPPED

:genSrgs SKIPPED

:downloadClient SKIPPED

:downloadServer SKIPPED

:splitServerJar SKIPPED

:mergeJars SKIPPED

:deobfMcSRG SKIPPED

:decompileMc FAILED

 

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

 

Total time: 5 mins 4.964 secs

not sure what it means any help would be great

here is the version im using forge-1.9-12.16.1.1887-mdk

~Hero

Posted

GC overhead limit exceeded means that Java's spending more than 98% of the time doing Garbage Collection and retaining less than 2% of the heap.

You need to allocate more memory.

To quote @shadowfacts

Use the org.gradle.jvmargs property in the ~/.gradle/gradle.properties file as described here

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted

GC overhead limit exceeded means that Java's spending more than 98% of the time doing Garbage Collection and retaining less than 2% of the heap.

You need to allocate more memory.

To quote @shadowfacts

Use the org.gradle.jvmargs property in the ~/.gradle/gradle.properties file as described here

 

Ok how do i add org.gradle.jvmargs=-Xmx2G and what is it, also there was know gradle.properties file in my .gradle folder

~Hero

Posted
assign more RAM into gradle by adding org.gradle.jvmargs=-Xmx2G into the file ~/.gradle/gradle.properties (create file if doesn’t exist)

 

also it is in the user files on the system, if you're using Windows, it's in something like "C:\Users\*user*\.gradle\gradle.properties"

 

make sure it is not a .txt file when you make it

Posted

assign more RAM into gradle by adding org.gradle.jvmargs=-Xmx2G into the file ~/.gradle/gradle.properties (create file if doesn’t exist)

 

also it is in the user files on the system, if you're using Windows, it's in something like "C:\Users\*user*\.gradle\gradle.properties"

 

make sure it is not a .txt file when you make it

ok there was no gradle.properties file in my .gradle folder so i created it know what exactly to I add to this a file, just a folder called org.gradle.jvmargs=-Xmx2G a txt file with org.gradle.jvmargs=-Xmx2G inside of it?

~Hero

Posted

gradle.properties is a file editable using notepad or any simple text editor, it is just not of the .txt extension.

Inside you just put

org.gradle.jvmargs=-Xmx2G

ok sorry to bug you more you have helped me alot, I dont have gradle.properties in my .gradle file is there anywhere i can get it, if not how can i create it

~Hero

Posted

gradle.properties is a file editable using notepad or any simple text editor, it is just not of the .txt extension.

Inside you just put

org.gradle.jvmargs=-Xmx2G

ok sorry to bug you more you have helped me alot, I dont have gradle.properties in my .gradle file is there anywhere i can get it, if not how can i create it

 

You need to create it yourself. It's a plain text file, so use a text editor or your IDE.

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.

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.