Import of Maven project ends with
Exception java.lang.OutOfMemoryError: GC overhead limit exceeded
- I've tried to define an environment variable:
MAVEN_OPTS = -Xmx1g
. - I've tried to add
-Xmx1g
to Maven VM options via Settings -> Build Tools -> Maven -> Runner.
Without success. What else can I do?