IntelliJ IDEA 2018.2 Help

Increasing Memory Heap

The Java Virtual Machine (JVM) running IntelliJ IDEA allocates some predefined amount of memory. The default value depends on the platform. If you are experiencing slowdowns, you may want to increase the memory heap using the corresponding JVM option.

IntelliJ IDEA also warns you if the amount of free heap memory after a garbage collection is less than 5% of the maximum heap size.

The Low Memory warning

Click Configure to increase the amount of memory allocated by the JVM.

The Memory Settings dialog

Click Save and Restart and wait for IntelliJ IDEA to restart with the new memory heap setting.

Last modified: 2 August 2018