Increase memory heap
The Java Virtual Machine (JVM) running DataGrip 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.
From the main menu, select.
Set the necessary amount of memory that you want to allocate and click Save and Restart.
This changes the value of the
-Xmx option used by the JVM and restarts DataGrip with the new setting.
DataGrip also warns you if the amount of free heap memory after a garbage collection is less than 5% of the maximum heap size:
Click Configure to increase the amount of memory allocated by the JVM:
Click Save and Restart and wait for DataGrip to restart with the new memory heap setting.