Constantly "updating indices" over and over, making RM unusable

Since 2017.3 my ruby project on certain .RB files just sits looping "updating indices" in the status bar, significantly slowing down the IDE.  It's not running a long index, its just doing the index over and over continually.

This is on Ubuntu 16.04.

How do I make this stop?

9 comments

Hello Dave,

sorry for the delay. It appears to be an already fixed problem so could you please check how it goes in RubyMine 2017.3.2?

0

I'm using RubyMine 2017.3.2 and having the same issue. It constantly updates indexes, over and over again. Each one takes a brief moment but it never stops.

 

RubyMine 2017.3.2
Build #RM-173.4301.17, built on January 11, 2018

JRE: 1.8.0_152-release-1024-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.11.6

Update: I was playing around with different ruby versions (2.5.0 and 2.4.1) and different states of bundle installs (locked gem versions satisfied and unsatisfied). At first it appeared to happen when my project was set to ruby 2.5.0. However, after switching ruby versions back and forth a bunch of times, the problem appears to have gone away entirely.

Update 2: Of course as soon as I posted the previous update, the constant re-indexing came back again. I just had to switch tabs to a different file and it started indexing over and over again. The project is set to ruby 2.4.1 so it does not appear to be specific to 2.5.0.

0

I'm not sure on latest versions.  What I ended up having to do when I originally reported this was blow away my .idea folder and then open the project again. That seemed to clear it up and I haven't seen it since. (whether that was due to me or a bug fix, I don't know.)

0

For me, deleting .idea/ doesn't help. I get the same behavior with a fresh project.

0

I am still having this issue in PhpStorm with any php files.

0

I was able to solve this by going to File -> Invalidate Caches / Restart

Then on the dialog that opens select "Invalidate and Restart"

6

I had same issue on WebStorm 2017.3.3, and like was mentioned above the "Invalidate Caches / Restart" helps to solve it

1

Same issue on Android Studio 3.1.2 on Windows 10.

"Invalidate Caches / Restart" solves it.

2

Same issue on Android Studio 3.3 Canary 3. 'Invalidate Caches / Restart' worked for me although... now Android Studio is telling me to upgrade to Gradle - every - two - seconds (the same frequency as the updating indices problem.)

 

'Invalidate Caches / Restart' doesn't fix on 3.1.3 Stable.

1

Please sign in to leave a comment.