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

3 comments
Comment actions Permalink

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.

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.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

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

0
Comment actions Permalink

similar problem here, solved by 8 gig of ram and a ocz vertex turbo
indexing takes less than a minute

0

Please sign in to leave a comment.