недостаточно памяти для запуска

Версия Minecraft
1.14.4
Я запустил градл в айдиа и мне высветилось сообщение:
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/4.8.1/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 3145728KB object heap ----------------------- Check the JVM arguments defined for the gradle process in: - gradle.properties in project root directory

Я так понял что надо увеличить количество гигабайтов в настройках. Увеличил и получил:

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/4.8.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Invalid maximum heap size: -Xmx4G The specified size exceeds the maximum representable size. ----------------------- Check the JVM arguments defined for the gradle process in: - gradle.properties in project root directory

Что делать?

P. S. Пожалуйста не злитесь что я что-то не понимаю. Я только что начал изучать моддинг.
 
7,099
324
1,510
Invalid maximum heap size: -Xmx4G
Судя по всему не x64, нужно использовать 64-разрядную версию
Вот тут похожая проблема: Gradle Setup "Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap" Которая вроде решилась юзом x64
~~~
Если юзать x64, то 3гб вполне хватает. Мне удалось сделать сетап не меняя параметров.
Поэтому x32 лучше вообще снести
 
Сверху