Could not reserve enough space for object heap

Status
Works as designed
Issue description

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 32-bit, 3583 MB, Windows 7 - cmd, JVM 1.8.0_172, JAVA_HOME: G:\MCreator ZIP\.\jdk
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
G:\MCreator 
      ZIP\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx2559m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 2621440KB object heap
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
G:\MCreator 
      ZIP\forge>
Task completed with return code 0 in 6685 milliseconds

Issue comments

Your computer has 3583MB of RAM. This is not enough RAM for MCreator to work. And MCreator does rarely work on 32-bit computers too. We will drop support for 32-bit computers as many other software manufacturers did soon.

The best solution would be to upgrade your computer.