Topic category: Troubleshooting, bugs, and solutions
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
Your RAM is too small. The only thing you can do is using another PC :(
You have 2GB of RAM, but the minimum is 4GB: https://mcreator.net/requirements
Thank you! I guess i'll make it on my friend's PC ;)