可能是内存不足,修改以下三个地方
1、help->Edit Custom VM Options
-Xmx4096m
2、file->settings->Build,Execution,Deployment->Build Tools->Maven->Importing的VM options for importer写入参数
-Xmx4096m
3、file->settings->Build,Execution,Deployment->Compiler的Shared build process VM options写入参数:4096
---------------------------------
另外附:IDEA的CPU占用率过高处理办法
idea安装路径bin目录,修改idea64.exe.vmoptions配置文件,修改为(IDEA优化内存配置)
-Xms2048m
-Xmx4096m
-XX:ReservedCodeCacheSize=800m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50