GoLand
 
Get GoLand

High memory consumption

Last modified: 25 November 2024

The Java Virtual Machine (JVM) running GoLand 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.

GoLand 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. If you are not sure what would be a good value, use the one suggested by GoLand.

The Memory Settings dialog

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

If these settings do not fix the problem, capture a memory snapshot, and send it to the JetBrains support team.

You can capture memory snapshots automatically when the IDE runs out of memory.