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)

 

 

  • ZigBee and Thread
  • Thread SDK
  • Knowledge Base Articles