Peter Johnson wrote:You are getting a permgen space error, not a heap space error, so setting heap sizes will have no effect. You need to increase the permgen size using the -XX:MaxPermGen option.
Assuming that it is Tomcat that is blowing up with this error, open the Tomcat server (right-click on Tomcat in Server view and select open) then click Open Launch Configuration. On the Arguments tab, add "-XX:MaxPermSize=256M" to the VM Arguments.
If it is Eclipse that is blowing up, edit the value after the "--launcher.XXMaxPermSize" line in eclipse.ini.