MCreator not enough space to write on disc after gradle setup when D: drive clearly has enough

Published by xf8b on
Status
Works as designed
Issue description

I tried to create a new mod, but while it was developing Gradle, Gradle stopped the build due to "insufficient space" on D: (or C:) drive. I'm not sure which drive it is referring to, but D: has enough space. Error log:

   


Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.9.1, 64-bit, 8094 MB, Windows 10 - cmd, JVM 1.8.0_222, JAVA_HOME: D:/minecraft mods/tools/MCreator 1.9.1 [1.12.2] Windows 64bit/MCreator191/jdk/jre
D:\minecraft mods\ArmorIndicator>gradlew -Dorg.gradle.java.home="D:/minecraft mods/tools/MCreator 1.9.1 [1.12.2] Windows 64bit/MCreator191/jdk/jre" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
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
:genSrgs FAILED
6 actionable tasks: 5 executed, 1 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':genSrgs'.
> java.io.IOException: There is not enough space on the disk
* 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 11s
D:\minecraft mods\ArmorIndicator>
Task completed with return code 0 in 12641 milliseconds

Picture showing that D: has enough space:

https://gyazo.com/3e26014a430d1d47e49b64c1edc0f418

Picture showing mod is in D:


https://gyazo.com/e224d8b573a172344ca33de5feabc3dd

Issue comments

MCreator generates some caches in the user folder which is on C drive. You will need at least around 200 MB of space there.

Nevermind.

Another question, is there any way to move this folder?