Are the memory issues with latest M5 snapshop already known? We have a project with about 30 subprojects. It pulls in JBoss libraries, which lead to very deeply nested dependencies. Running ‘idea’ on this took about 18 minutes with M3.
Running with the latest on master doesn’t seem to be any faster (still takes about 18 min), but it gobbles memory and runs out of heap. It takes 2g of heap to not crash.
Did some profiling, looks like its mostly held in DefaultConfiguration.cachedResolvedConfiguration, though I haven’t figured out if this is all intentional, or a memory leak. Looks like it’s cached resolved dependencies, but for some reason, this isn’t making it go faster. It also doesn’t appear to be ensuring each unique dependency is only resolved once, across a multi-project, which I sort of expected was the approach you’d take to speed things up.
Anyway, just wanted to make sure you were aware.