I am trying to follow the tutorial to set up a new gradle IntelliJ platform plugin ( https://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system/prerequisites.html ), but after creating the project, during the gradle sync step, I think a fraction of a second after downloading IdealC-2020.1.zip, the process fails with a heap error. I have seen the suggestion from Jakub on this thread ( https://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system/prerequisites.html ), but the linked thread does not provide any relevant suggestions:
I am running on Mac so, if I'm not mistaken, all programs are 64 bit. I am able to start the IDE. I have tried running the VM with -Xmx=750M and with -Xmx=6G, but still have the issue. I have 16GB of ram on this machine.
I am able to build and run existing plugin projects, and I am able to build IntelliJ Community, but not able to set up a new plugin project.