General Troubleshooting
If you encounter any of the following symptoms, try increasing the memory allocated to Composer:
- You get OutOfMemory Exceptions
- The perspective layout changes on its own
- The system hangs while loading a Composer Project
- The Composer UI appears slow to respond
Edit the Eclipse.ini file present in the Eclipse installation folder. Open it in a text editor. It will look like this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.committers.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx256m
Try increasing the value of XX:MaxPermSize> and Xmx to a higher value, for example, 512m.