It can be fixed by changing the VM values in Eclipse.ini. Set the values to 512 and 1024 as below:
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
The changed area in image