打开New 里面有setting
Setting---->Build Tools → Maven → Importing, set VM options for importer to -Xmx1024m
-Xmx1024m