Very poor refactoring performance

I have been using IntelliJ 13 for the last month (as does my whole team). I am using a Mac 2.3GHz i7, and 16GB, 64bit.
java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

When ever i do a refactor->move, or rename it can take as long as 1 min (single class) or > 1hr for a group of clases. CPU hits 110%

Intially IntelliJ was only using up to 510MB, which was suspisciously close to 512 so i increasedt he max memory to 2GB, right now it sits around 1GB, so I know that change worked.
That had no effect on the speed, so then per a SO post I deleted the ~/Library/Caches/IntelliJIdea13 folder and let intelliJ rebuild the cache/index, and it worked for that session. Also if a re-clone my git project into a new folder and open with intellij, it works faster.

Other than this problem I love intelliJ. Not sure if it is relevant but I also paid for the license recently.


Comment actions Permalink

Could you please take a CPU snapshot and submit it as described in


Comment actions Permalink

Thanks for the response! I attached the CPU snapshot

Comment actions Permalink

Thanks for the update, please watch to get notified of updates.

Could you please try updating to version 13.0.1 (Build:133.331) or try 13.0.2 EAP ( to see if there's changes in your setup? Thanks.

You could also try to disable "Grails" plugin for larger refactorings, though you might risk broken code on "rename".

Comment actions Permalink

Thanks a lot, will do!


Please sign in to leave a comment.