修改对应配置文件 64位的是idea64.exe.vmoptions
-Xms2048m -Xmx2048m -Xmn1024m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+PrintGC -XX:+PrintGCDetails -Xloggc:D://Program Files (x86)//JetBrains//IntelliJ IDEA 14.1.1//bin//binccidea64.log -XX:ReservedCodeCacheSize=225m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true
转:http://blog.csdn.net/chen88358323/article/details/51940036
Tomcat:
-server -XX:PermSize=128M -XX:MaxPermSize=256m
参考:http://blog.csdn.net/lablenet/article/details/51149283