IntelliJ IDEA 2020.1 Help

Increase memory heap of the build process

To prevent the build process from running out of memory, you can increase the amount of memory allocated to the process. By default, the memory heap is 128 MB, but for large projects you may need more.

  1. Open the Build File Properties dialog.

  2. In the Maximum heap size field, type the required amount of memory.

The memory heap of the build process is independent of the IntelliJ IDEA memory heap, and is released after the build process is complete.

The memory heap available to IntelliJ IDEA may be changed using the corresponding JVM option.

Last modified: 7 July 2020