GoLand Out of Memory: How to Increase Heap Size
Workaround available Windows, macOS, Linux Updated November 14, 2026Based on 3 user reportsHow we research
Quick answer
GoLand shows "low memory" warnings or runs out of heap on big projects. Raise the maximum heap under Help | Change Memory Settings and close what you do not need.
Most likely fix: Increase the heap from the IDE
How to fix it
Try these in order — the most common fix is first.
1. Increase the heap from the IDE
- Open Help | Change Memory Settings
- Set a higher value (use the suggested value if unsure)
- Click Save and Restart
Did this fix it?2. Watch memory use
- Right-click the status bar and enable Memory Indicator
- Click the indicator to trigger garbage collection and see if usage drops
Did this fix it?3. Raise it through the Toolbox App
- In Toolbox App click the settings icon next to the IDE
- Open Settings, expand Configuration
- Set Maximum heap size and restart the IDE
Did this fix it?
Symptoms
A "IDE is running low on memory" notification, an OutOfMemoryError, UI freezes, or the IDE restarting by itself.
Why it happens
- Default maximum heap is too small for the size of the project
- Many heavy plugins loaded at the same time
- Several large projects open in one window
- Memory leak in a specific plugin or IDE build
This guide also covers
- goland out of memory
- goland increase memory
- goland heap size
- goland low memory warning
Still not working?
If GoLand keeps failing, you're not alone. See every GoLand problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All slow, laggy or resource-hungry guides →
VS Code High CPU Usage (VS Code)
Why Is Neovim So Slow? (Startup Lag and Large Files) (Neovim)
Why Is Vim So Slow? (Large Files & Long Lines) (Vim)
IntelliJ IDEA High Memory Usage (JetBrains IntelliJ)
Other GoLand errors
- GoLand GOROOT Is Not Defined / Go SDK Not Found
- GoLand Cannot Resolve Imports / Go Modules Not Working
- GoLand Delve Debugger Errors (Version Too Old, Exits, Not Found)
- GoLand Indexing Takes Forever / Stuck on Indexing
- Why Is GoLand So Slow / Freezing?
- GoLand License Activation Error / License Not Found
- GoLand Plugin Incompatible After Update
- GoLand AI Assistant Quota Exceeded / Not Working