I am working on a large scale project and we use maven. So far I have migrated from Eclipse to Intellij Idea because of its outstanding maven integration since eclipse could not handle the magnitude of dependencies. However IDEA starts to act bit odly as well. For instance - on fresh set up of IDEA when first time importing whole project, IDEA resolves every dependency in a matter of few minutes. However after some time, when code base changes, artifact versions get updated and so on - dependency resolution starts to slow down. With IDEA EAP 13 I was surprised to see additional information on this matter. First in event log window on sever project re-imports maven plugin started failing and throwing runtime exceptions with messages "Unable to Reconnect", second for each module it failed to resolve dependencies (maven module managment window on the right) a pop-up appears indicating OutOfMemory exception with message "GC Overhead". EAP or not I am confused on this one. I do have a lot of RAM and so I tune up IDEA (64bit) to run with settings like these:
also default maven options are set to: -xmx900m. So I am puzzled if this is a memory leak of some sort, or somewhere there are some settings that I could tune up for dependancy resolution.
P.S. I also have IDEA 12 Ultimate edition which also shows the same symptoms, I am refering to EAP 13 only cause it has some verbouse notifications. Either way maybe someone coulp help me out ?