The LPCXpresso IDE is a Java application. While running the IDE, Java may report various errors that are related to the amount of memory available to the Java runtime. You may find these errors listed in the log file (<workspace>/.metadata/.log). The errors are typically caused by having additional plugins installed into the IDE or by having a large number of projects and/or files in your workspace.
This FAQ shows how to increase the amount of Java memory available for each error type.
When the IDE starts, it loads Java configuration information from the ini file. The locations and name of this file depends on the IDE being run:
If you see java.lang.OutOfMemoryError: PermGen space errors, you need to increase the permanent generation (PermGen) space available to Eclipse.
To increase the PermGen size, edit the ini file, and add/edit the following line AFTER the -vmargs argument:
If your IDE is already using these (or higher) settings, you can simply increase the sizes.
If the LPCXpressoIDE starts reporting "Java Heap errors", or the IDE is frequently hourglassing, you will need to increase the Java Heap size.
To increase the Java heap size, edit the ini file, and add/edit the following lines (it is important that they are on separate lines}:
After making these changes, you will need to close the IDE and restart.
You may also wish to enable the workspace preference such that the Java heap status is displayed in the IDE status bar (bottom right of Window). To do this, select:
Window -> Preferences -> General -> Show heap status
Description of the arguments:
A full discussion on the options available in the file can be found here: http://wiki.eclipse.org/Eclipse.ini