Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA 12 slow response

I've upgraded to IDEA 12 and become frustrated with the slow response. Class navigation takes several seconds to populate the search list (previously it was instantly), any dialog relevant to file list operation hangs for minutes. Move a class to another package just hang up and I have to kill the process. Does anyone have the same experience with me?

Additional information:

  • I am on windows 7
  • I tried both 64 and 32 versions and both have the same issue
  • My 64bit vmoption file has the following configuration:

enter image description here

  • I have the log dir zipped and put on http://ge.tt/1JwgAnU/v/0. When I start to generating the log dir, I clean it first and then start IDEA 64 bits, open a project (automatically), then invoke File > import module command. I observed there are around a minutes delay before the dialog popped up. And inside the log dir I see a threadDumps-20130106-091041-IU-123.100 folder. However there is no exception found in the idea.log file.

Updates

A screenr showing IDEA hang up when trying to move one class to another package by drag and drop: http://www.screenr.com/zlA7

like image 423
Gelin Luo Avatar asked Jan 05 '13 16:01

Gelin Luo


People also ask

Why is IntelliJ idea so slow?

Increase memory for IntelliJ IDEA By default, the IDE requests a maximum of 2048 MB. You can change this option in Help → Change memory settings. According to the feedback from some of our users and colleagues with big projects, changing the option to 8GB significantly improves IDE performance.

How can I make IntelliJ Ultimate faster?

Moving Caches and Index directories to RAM By default IntelliJ will write its temporary files in your home dir. You can speed up the IDE and reduce disk writes by moving this cache into RAM.


1 Answers

I found the problem is caused by JDK 8 ea installed in my windows 7. IDEA use exe4j to load JDK, which automatically picked up JDK 8 (See this question).

After I defined IDEA_JDK_64 environment variable and point that to my JDK 6, a high performance IDEA comes back!

like image 50
Gelin Luo Avatar answered Sep 28 '22 07:09

Gelin Luo