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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -