Intellij IDEA9 indexing has a big problem
Dear friends,
Our project has more than 10,000 files. We use ant target to do junit test. After the target is complete, IDEA starts to index. It takes more than 10 minutes to finished. Before indexing completes, I could not do anything. The problem is much bigger than IDEA 8.
Is there any solution for tuning indexing performance or can I turn it off temporarily?
My machine has 4G memory. I tried to allocate 1G memory to IDEA and sometimes the indexing never returns. Now I have to change it back to 512 Mb.
Please advice.
Thanks for help in advance.
Chi-Fu
Please sign in to leave a comment.
Hello Chifu,
You should exclude the directory with .class files generated by your Ant
build from indexing by IntelliJ IDEA. Go to Project Structure | Modules to
do that.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dear Dmitry,
After I exclude the classes directories, the indexing time become much much shorter.
It helps me a lot.
I wonder if I can exclude lib directories too.
Thank you very much.
Chi-Fu
similar problem here, solved by 8 gig of ram and a ocz vertex turbo
indexing takes less than a minute