how to disable indexing on startup

Hi all,
I am using Intellij IDEA Ultimate edition 10.5.1 and am trying to solve the performance issues as it is hanging a lot.

Can someone suggest how to disable indexing of files on startup as this is taking a lot of time on my machine?


Gaurav

6 comments
Comment actions Permalink

Hello Gaurav,

IntelliJ IDEA requires indices for most of its functionality, so it's not
possible to disable indexing. If IntelliJ IDEA hangs on your machine, it
writes thread dumps into the logs directory (Help | Reveal Logs to find where
it is). Please submit the thread dumps to http://youtrack.jetbrains.net/
so we can investigate the reason for the hangs.

I am using Intellij IDEA Ultimate edition 10.5.1 and am trying to
solve the performance issues as it is hanging a lot.
Can someone suggest how to disable indexing of files on startup as
this is taking a lot of time on my machine?


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


0
Comment actions Permalink

There must be a way to stop indexing or just indexing one type of file. This slows things down drastically and you should be able to allow users to disable indexing. What is the workaround here?

0
Comment actions Permalink

Please use "preferences=>Directories=>Excluded" to exclude the directories, which are not necessary to be indexed, so that you told IDE to index the files as expected. It helps me to reduce the duration of indexing at startup. Hope, it helps u too.

0
Comment actions Permalink

Upvote for this feature request. Another use case is that I want to only use version control (git) feature of IntelliJ, without indexing. Indexing eats lots of CPU, especially when I am checkout-ing around.

1
Comment actions Permalink

It seems that re-indexing the whole project on startup is not very smart. Couldn't the indexing state be stored and reloaded so it doesn't need to be done from scratch every time and only updates would be needed?

This is a problem for my current use case where I work with a large number of projects and I need to keep switching between them.

0
Comment actions Permalink

Hello, your use case seems to be valid. please check|upvote|comment on Youtrack.

0

Please sign in to leave a comment.