IDEA 9 Performance Problem After Almost Every Operation

Since upgrading to IDEA 9 I've noticed that almost every 'operation' I perform, there is an annoying 1-3 second delay/freeze in IDEA before it allows me to do anything else.  By 'operation' I mean every time I switch between files, switch between Find Usages views, type in a few characters, copy/paste text.  It's almost as if some major processing is going on after I perform an operation (maybe IDEA is calculating the 'Undo' stack for the operation?).  Whatever it is, it's making IDEA 9 unusable for me.  I have a very large codebase loaded in IDEA (on the order of 10,000+ classes).  

Is there a feature I can turn off in Preferences, or a Cache I can rebuild to make this fast again?

Thank You,
Eric

16 comments

What are your heap memory settings? Believe IntelliJ defaults to 256M. You may need more (I have mine set at 768m).

0

Upping the memory helped a little, but I still get delays (although maybe only 40% of the time now).  Delays are especially bad right after I save a file.

0

I do not believe IntelliJ 9 is stable for large projects (we have 3,400 Java source code files). We've had good success with previous versions of IntelliJ but have been unable to use IntelliJ 9 much. I've given it a good try for the last couple of months, but I'm reverting back to IntelliJ 8 today. I couldn't get anyone in the office to use IntelliJ 9 for more than an hour because it is unusable with our project (painfully slow). We're running OS X for development machines now and I'm not sure if IntelliJ 9 is unstable on Mac only or across all platforms. We store our projects and IntelliJ cache directory on SSD drives too just to make sure we're doing all we can do help IntelliJ run better. We have 12 GB RAM and quad core processors too. Indexing is awfully slow and the background feature doesn't help as the IDE will lock up quite often when indexing.

I was hoping to purchase IntelliJ 9 licenses before the end of this year, but we'll have to wait for the problems to be sorted out. I just tried the latest EAP and didn't have any success with it either. I'm hoping that JetBrains can sort out the problems with version 9 soon.

I'm open to any suggestions on what I can do to help IntelliJ run better and will be happy to try suggestions out.

Kind regards,
Eric

0

+1 on this topic.

Creating separate thread for this one, since it annoys the hell out of me. Found here: http://www.jetbrains.net/devnet/thread/285947?tstart=0

0

On Thu, 31 Dec 2009 00:58:01 MSK, Eric Rich <no_reply@jetbrains.com>
wrote, quoted or indirectly quoted someone who said :

>I do not believe IntelliJ 9 is stable for large projects (we have 3,400 Java source code files). We've had good success with previous versions of IntelliJ but have been unable to use IntelliJ 9 much. I've given it a good try for the last couple of months, but I'm reverting back to IntelliJ 8 today. I couldn't get anyone in the office to use IntelliJ 9 for more than an hour because it is unusable with our project (painfully slow). We're running OS X for development machines now and I'm not sure if IntelliJ 9 is unstable on Mac only or across all platforms. We store our projects and IntelliJ cache directory on SSD drives too just to make sure we're doing all we can do help IntelliJ run better. We have 12 GB RAM and quad core processors too. Indexing is awfully slow and the background feature doesn't help as the IDE will lock up quite often when indexing.

I too have found it much slower than previous versions.  I have been
tinkering the JVM parms without success.

I seem to recall there is some sort of GC that is continuous without
pause. Perhaps that is what you need in an IDE.

I am running Windows 7 64 bit.

It as also flakier.  Global rename often fails to rename all
instances. It often acts like renaming just the instance you are
pointing at, or the declaring instance.

When I ask it to find instances, it sees none.

It seems to reindex and recompile far more often than I would think
necessary.

--
Roedy Green Canadian Mind Products
http://mindprod.com
If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.

0

Hello Eric,

Could you please file a YouTrack issue at http://youtrack.jetbrains.net/
and attach several CPU snapshots, taken according to the instructions at
http://jetbrains.net/devnet/docs/DOC-192 ? This will let us diagnose the
performance issues you're seeing, and it's likely that we'll be able to fix
them in a 9.0.x update.

I do not believe IntelliJ 9 is stable for large projects (we have
3,400 Java source code files). We've had good success with previous
versions of IntelliJ but have been unable to use IntelliJ 9 much. I've
given it a good try for the last couple of months, but I'm reverting
back to IntelliJ 8 today. I couldn't get anyone in the office to use
IntelliJ 9 for more than an hour because it is unusable with our
project (painfully slow). We're running OS X for development machines
now and I'm not sure if IntelliJ 9 is unstable on Mac only or across
all platforms. We store our projects and IntelliJ cache directory on
SSD drives too just to make sure we're doing all we can do help
IntelliJ run better. We have 12 GB RAM and quad core processors too.
Indexing is awfully slow and the background feature doesn't help as
the IDE will lock up quite often when indexing.

I was hoping to purchase IntelliJ 9 licenses before the end of this
year, but we'll have to wait for the problems to be sorted out. I just
tried the latest EAP and didn't have any success with it either. I'm
hoping that JetBrains can sort out the problems with version 9 soon.

I'm open to any suggestions on what I can do to help IntelliJ run
better and will be happy to try suggestions out.

Kind regards,
Eric
---
Original message URL:
http://www.jetbrains.net/devnet/message/5253486#5253486

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


0

FYI, I have attached two CPU snapshots to the following issue:

http://youtrack.jetbrains.net/issue/IDEA-27116

0

FYI, I have attached two CPU snapshots to the following issue:

http://youtrack.jetbrains.net/issue/IDEA-27116

0

Hello Eric H.,

FYI, I have attached two CPU snapshots to the following issue:

http://youtrack.jetbrains.net/issue/IDEA-27116


The report IDEA-27116 describes a very specific and known performance issue
(slow updates of the Structure view when editing .properties files). Unless
you're sure that you're experiencing exactly the same problem, please attach
your snapshots to a new issue, not to someone else's one.

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


0

+1

Just upgraded to 9.0.2

Starting to wish I'd just stuck with 8

0

Hello Dean,

Have you filed a YouTrack issue with CPU snapshots attached? If not, please
do.

+1

Just upgraded to 9.0.2

Starting to wish I'd just stuck with 8


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


0

Hi Dmitry,

I've just realised my user.home directory is on a network drive.

I'm going to change it (via idea.properties) to point it to my local drive.

Hopefully that will clear up my problem. If not, I'll work on getting some CPU snapshots uploaded.

PS. Keep up the good work. Intellij is the greatest software engineering tool I've ever used. Many thanks!

0

That was the problem. IntelliJ working perfectly now

0

This is giving me trouble as well. My current project contains about 6000 source code files plus external libraries as JAR files. Switching to another branch takes a lot of time because IDEA needs to update its index before you can use all features. This is especially bad because the background indexer basically makes the system unusable because it consumes most of the CPU cycles and hard drive speed. The best solution I have found is to only do one thing at a time (open project, wait for indexing to finish and only then start the make project cycle) and to check out branches separately to avoid switching branches.

Subversion updates aren't the fastest for source code of that size as well. Delays are allocated differently with Eclipse for that use case but I believe that the overall wait time is about the same for both IDEs.

One thing that's bad for EAP users is that IDEA has to recreate its caches if you force IDEA to quit. Of course, that's not rally fair to blame that on the IDE.

0

Hi,
  I am using Idea ultimate version 9.0.3. It's horribly SLOW. Now I am regreting why did I buy it. The indexing takes almost 10-15 mins on 3GB, 2.2GHZ dual core machine. Please FIX it asap.

Thanks,
Frustrated customer

0

Hello pankaj,

you are hijacking a probably unrelated thread.
In this thread the problem was resolved: Do not store your project files on a network drive.
Also make sure that IDEA's system folder is on a local drive.

Obviously most other people do not have this problem, so it may be helpful to describe your project and environment. Otherwise we could only guess what your specific problem might be.

Detailed help for troubleshooting IDEA's performance is available here:
http://devnet.jetbrains.net/docs/DOC-192

Hope it helps!


On 13.08.2010 21:27, pankaj wrote:

Hi,
   I am using Idea ultimate version 9.0.3. It's horribly SLOW. Now I am regreting why did I buy it. The indexing takes almost 10-15 mins on 3GB, 2.2GHZ dual core machine. Please FIX it asap.

>

Thanks,
Frustrated customer

>

---
Original message URL: http://devnet.jetbrains.net/message/5270176#5270176


0

Please sign in to leave a comment.