Maven import in Intellij IDEA runs out of memory on a large project -
import of maven project ends with
exception java.lang.outofmemoryerror: gc overhead limit exceeded
- i've tried define environment variable:
maven_opts = -xmx1g
. - i've tried add
-xmx1g
maven vm options via settings -> build tools -> maven -> runner.
without success. else can do?
the solution set -xmx1g
(or more) in maven vm options importer (yes, separate option!). go "settings -> build tools -> maven -> importing", , find option there.
read more on jvm heap size: (q) xms
, xmx
parameters when starting jvms?.
Comments
Post a Comment