Java JVM used by Gradle ran out of available RAM

Published by JPZamps on Wed, 06/03/2020 - 06:01
Status
Resolved
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I'm trying to change my mod version from 1.14.4 to 1.12.2, but I just can't create anything in this version, every time I get the error ´´Java JVM used by Grandle ran out of available RAM`` my computer has the necessary requirements and I am using the compatible 64bit version

Issue comments

here 

Executing Gradle task: setupDecompWorkspace --refresh-dependencies

Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 8107 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Users\Usuario\AppData\Local\Temp\Rar$EXa0.359\MCreator20202\jdk

This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.

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

         ForgeGradle 2.3-SNAPSHOT-6084129e        

  https://github.com/MinecraftForge/ForgeGradle  

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

                 Powered by MCP                  

             http://modcoderpack.com             

     by: Searge, ProfMobius, R4wk, ZeuX          

     Fesh0r, IngisKahn, bspkrs, LexManos         

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

: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

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

   at java.util.ArrayList.<init>(ArrayList.java:153   at java.util.ArrayList.<init>(ArrayList.java:153)

   at org.jetbrains.java.decompiler.struct.attr.StructLocalVariableTableAttribute.initContent(StructLocalVariableTableAttribute.java:52   at org.jetbrains.java.decompiler.struct.attr.StructLocalVariableTableAttribute.initContent(StructLocalVariableTableAttribute.java:52)

   at org.jetbrains.java.decompiler.struct.StructMember.readAttribute(StructMember.java:96   at org.jetbrains.java.decompiler.struct.StructMember.readAttribute(StructMember.java:96)

   at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:111   at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:111)

   at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65   at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65)

   at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:106   at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:106)

   at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65   at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65)

   at org.jetbrains.java.decompiler.struct.StructMethod.<init>(StructMethod.java:79   at org.jetbrains.java.decompiler.struct.StructMethod.<init>(StructMethod.java:79)

   at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:113   at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:113)

   at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:72   at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:72)

   at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162   at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162)

   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101)

   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79)

   at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.addSpace(BaseDecompiler.java:36   at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.addSpace(BaseDecompiler.java:36)

   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:68   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:68)

   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)

Picked up _JAVA_OPTIONS: -Xmx1g

:decompileMc FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':decompileMc'.

> Process 'command 'C:\Users\Usuario\AppData\Local\Temp\Rar$EXa0.359\MCreator20202\jdk\bin\java.exe'' finished 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. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 43s

5 actionable tasks: 4 executed, 1 up-to-date

BUILD FAILED

Task completed in 289508 milliseconds

_JAVA_OPTIONS: -Xmx1g

Remove this environment variable from your system environment variables.

Also this is not a wise install location: C:\Users\Usuario\AppData\Local\Temp\Rar$EXa0.359\

i remove and it works! thank you, btw what do you mean by 'not a wise istall location'' and how to change thath?



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.