What is the best way to avoid permgen space error when running Tomcat from Eclipse 3.6? Is this done by adding the following line:
No. Tomcat runs in a separate JVM from eclipse. Add this option in the VM arguments of the launch configuration :