Jump to content

Recommended Posts

Posted

Hey guys, i am trying to use

'gradlew setupDecompWorkspace eclipse'

But everytime when i come to the point of :decompileMc, it gives me an error:

 

 

  Quote
: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:\Program Files (x86)\Java\jre1.8.0_66\bin\java.exe'' finis

hed 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: 11.911 secs

 

I already changed my gradle.properties to increase the size

  Quote
org.gradle.jvmargs=-Xmx2048M

and i tried

  Quote
org.gradle.jvmargs=-Xmx3g

But it keeps giving the same error :/

 

Thanks for any help!

Posted
  On 1/19/2017 at 8:57 PM, diesieben07 said:

Do you have enough RAM available?

 

There better be, i have 8GB total in my machine, and nothing heavy is running besides chrome haha

Posted

I installed the new one, changed the JAVA_HOME path to it, but still nothing :/ same error

 

it still says that 3gb is my max size

java -version in cmd shows me:

 

  Quote

c:\Windows\System32>java -version

java version "1.8.0_121"

Java SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot 64-Bit Server VM (build 25.121-b13, mixed mode)

 

Posted
  On 1/19/2017 at 10:23 PM, diesieben07 said:

Are you sure Gradle is using the 64 Bit version? Did you uninstall the 32 Bit one (there is no reason for you to have it still)?

 

So, i did install the 64Bit, changed the JAVA_HOME , but what i didnt do, whas reopen the CMD  ::) then when i ran gradlew setupDecompWorkspace eclipse it worked as a charm!

 

Thankyou Diesie!

  • 1 year later...
Posted
  Quote

Hola soy espa帽ol miren conosco tambien el error del DescompileMC build failed hay dos soluciones es mejorar el RAM de tu compu con sus Bit del sistem instalados o otro y era en escribir en el gradlew properties en al primera linea forkDecompile = false

 

Expand  

 

Posted

Old thread. Locked.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



  • Create New...

Important Information

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