tomcat memory permsize
open launch configuration > arguments tab > VM arguments
---------------------------------------------------------------------------------------------------
-Dcatalina.base="D:\KESI\KESISRC\.metadata\.plugins\org.eclipse.wst.server.core\tmp0" -Dcatalina.home="D:\KESI\apache-tomcat-6.0.32" -Dwtp.deploy="D:\KESI\KESISRC\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps" -Djava.endorsed.dirs="D:\KESI\apache-tomcat-6.0.32\endorsed"
-Xms512m -Xmx512m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewRatio=2 -XX:SurvivorRatio=5 -XX:ReservedCodeCacheSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
-Begin -After