This is what shows up:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\PC>cd C:\Documents and Settings\PC\Desktop\Mod Minecra
ft Medieval Craft
C:\Documents and Settings\PC\Desktop\Mod Minecraft Medieval Craft>gradlew setupD
ecompWorkspace eclipse
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril
.
#################################################
ForgeGradle 2.3-SNAPSHOT-583d1ba
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
: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\Java\jdk1.8.0_151\bin\java.exe'' finished w
ith 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: 45.61 secs
C:\Documents and Settings\PC\Desktop\Mod Minecraft Medieval Craft>
I just was starting to make a mod and followed a tutorial on internet but when i ran on this problem i couldn't fix it. My jvmargs at gradle.properties are set to 1G of memory ram and i don't know where to change that 3G Ram he wants (Could not reserve enough space for 3145728KB object heap) (my pc has only 3.24 Gb usable so i know the problem is with the ram space).
this is what was inside my gradle.properties
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx1G
org.gradle.daemon=true
org.gradle.java.home=C:/Program Files/Java/jdk1.8.0_151
Please help me solve this.