解决方案:Setting->Build,Execution,Deployment->Build Tools->Maven->Importing->VM options for importer改为-Xms1024m -Xmx2048m
Setting
Build,Execution,Deployment
Build Tools
Maven
Importing
VM options for importer
-Xms1024m -Xmx2048m