选择 edit Configurations —>Configuration—>Environment—>VM -server -XX:PermSize=1024M -XX:MaxPermSize=2048M