IDEA reindexes and reimports everything after a crash

Build 9742. Once in a while I have to kill IDEA when it spins out of control. The problem is next time I load the same project, it starts reindexing everything. It starts with JDK, then every jar library, then imports all poms (again). There shouldn't be a reason to do that every time, should there?

Andrew

2 comments
Comment actions Permalink

I think that's to make sure that the cache is not corrupted. This is not very user friendly, I agree.

Worse, though, is that Idea reindexes everything after it shows the "Out of memory" dialog and "Shutdown" is chosen.

0
Comment actions Permalink

There is a new File -> Invalidate Caches action, so I'd prefer not to waste 20 mins till IDEA gets a grip on the reality (nothing was broken in caches, just killed due to e.g. OOME).

0

Please sign in to leave a comment.