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 
  1. i've tried define environment variable: maven_opts = -xmx1g.
  2. 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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -