1.双击tomcat
2.Open launch configuration
3.Argument
4. VM arguments中添加:-Xmx1024M -Xms512M -XX:MaxPermSize=256m