Run ->DebugConfigurations 选中运行项目 在Arguments中加入如下配置 -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=512M