- Open the Build File Properties dialog box.
- In the Maximum heap size field, type the required amount of memory.
The memory heap of the build process is independent of IntelliJ IDEA memory heap, and is released after the build process is complete.
(The memory heap available to IntelliJ IDEA may be changed by editing the corresponding VM options. Depending on the platform, these files are: