IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Increase the memory heap of the Ant build process

Last modified: 05 September 2023

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.

The memory heap of the build process is independent of the IntelliJ IDEA memory heap, and is released after the build process is complete. For more information about the memory heap allocated by the JVM for running IntelliJ IDEA, refer to Increase the memory heap of the IDE.