Performance tuning tips
This article provides an overview of techniques to help improve GoLand performance when working with large-scale projects.
Increase memory heap
Enable memory indicator
To determine whether performance issues are caused by low heap memory, enable the memory indicator:
Right-click the status bar and select Memory Indicator.
The memory indicator will appear in the bottom-right corner:

Increase memory heap
Select
from the main menu.In the dialog that opens, set a higher memory heap value in the Maximum Heap Size field.
Click Save and Restart.

Adjust -Xmx
To increase the memory heap, you can change the -Xmx
option, which sets the maximum heap size for the JVM:
In the main menu, go to .vmoptions file in the IDE configuration directory and opens it in the editor.
. This action creates a copy of theUpdate the
-Xmx
value. For example, use-Xmx4096m
to allocate 4 GB of memory instead of the default 2 GB.Restart GoLand to apply the changes.
If the amount of free heap memory drops below 5% of the maximum heap size, a warning will appear. To adjust the -Xmx
value, click Configure in the Memory Settings dialog.

Speed up code analysis
Enable Power Save mode
You can enable Power Save Mode or battery efficiency mode using one of the following options:
As an alternative to disabling individual checks or files one by one, try using Power Save Mode. This mode disables all inspections and other resource-intensive background tasks across the entire IDE.
To enable Power Save Mode, go to .
Right-click the status bar and select Power Save Mode. The
Power Save Mode icon will appear on the status bar.
Speed up indexing
Exclude directories and file types
Your project may include folders with binaries, logs, or build artifacts that do not affect GoLand code insight. Indexing such folders can also be resource-intensive due to their size or location. In these cases, it is reasonable to exclude the folders manually: right-click the directory in the project tree and select
.Once files are excluded, their symbols are no longer available to GoLand. The following features will be disabled for excluded files: code completion, auto-import, code generation, Find in Files (except in open files), navigation, and refactoring.
You can also exclude files such as logs or generated data by file type. To do so, go to
and add the pattern to the list of ignored file types:
Report performance problems
If you experience an IDE freeze or high CPU or memory usage, and the tips listed above do not help, please provide us with the IDE logs, thread dumps, and performance snapshots. For details on how to collect and send this information, refer to Report performance issues.