打开【Debug Configurations】--【JRE】如下图界面: 在VM arguments加入以下片段: -Xms512m -Xmx512m -XX:PermSize=256M -XX:MaxPermSize=256M