Cant compile mod (DecompileMC error)

Started by Freyja_Wion on Sun, 10/13/2019 - 06:28

Topic category: Bugs and solutions

Last seen on 14:25, 13. Oct 2019
Joined Oct 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Cant compile mod (DecompileMC error)
Sun, 10/13/2019 - 06:28

So, when i launched workspace, it said i dont give Gradle enough RAM. OK, im going to settings and the max RAM i can give Gradle is 1019 MB, and i already had that memory. What should i do?

Excuse me for my grammar ;)

   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.1, 32-bit, 2043 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
C:\Users\user\MCreatorWorkspaces\test>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk" -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms1019m -Xmx1019m" setupDecompWorkspace --refresh-dependencies 
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Parallel execution is an incubating feature.
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
: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\Pylo\MCreator\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 3m 31s
5 actionable tasks: 4 executed, 1 up-to-date
C:\Users\user\MCreatorWorkspaces\test>
Task completed with return code 0 in 226277 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.1, 32-bit, 2043 MB, Windows 7 - cmd, JVM 1.8.0_222, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
C:\Users\user\MCreatorWorkspaces\test>gradlew -Dorg.gradle.java.home="C:/Program Files/Pylo/MCreator/jdk" -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xms1019m -Xmx1019m" setupDecompWorkspace --refresh-dependencies 
Parallel execution is an incubating feature.
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
: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
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\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value 1
* Try:
5 actionable tasks: 4 executed, 1 up-to-date
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 1m 13s
C:\Users\user\MCreatorWorkspaces\test>
Task completed with return code 0 in 86745 milliseconds

Last seen on 19:39, 20. Oct 2019
Joined Oct 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Your RAM is too small. The…
Sun, 10/13/2019 - 08:58

Your RAM is too small. The only thing you can do is using another PC :(

Last seen on 14:25, 13. Oct 2019
Joined Oct 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thank you! I guess i'll make…
Sun, 10/13/2019 - 11:11

Thank you! I guess i'll make it on my friend's PC ;)