Heap issues with Simplicity Studio V4

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> ADKates on ‎04-10-2017 02:54 PM

Symptoms

Getting a lot of errors that refer to "Java heap space" or "Out of memory" or the always-popular "An internal error occurred while showing an internal error."

 

An internal error occurred while showing an internal error.

Diagnosis

Studio is out of heap space.

Solution

There are a few things you can do that may help:

 

  1. Change your heap space: Close Studio, locate studio.ini and change the -Xmx640m line to -Xmx1g
  2. Close some stacks if you have several open (uncheck them in Preferences > SDKs)
  3. Monitor your heap by checking Preferences > General > Show Heap Status (you can then empty your trash as well)