Under Build → Build Tools → Maven → Importing, set VM options for importer to -Xmx1024m (the default vaule -Xmx512m is too low).