Increasing the default maximum heap size
- Open the Preferences dialog (Window > Preferences on Windows)
- Expand the tree to "Java/Installed JREs"
- Click on the JRE that has a checkmark (your default JRE)
- Click "Edit..."
- In "Default VM Arguments", fill in the max heap size you want using the -Xmx argument. For example, -Xmx3500m will give you a max heap size of 3500 MB