8.1.3 loading project is way too slow!

I just upgraded from 7.x and noticed that 8.x is exceptionally slow.
Loading project takes at least 5 min.

Why does it reindex jdk and all jars on every load?

Navigation with in the project is slow.
Navigating preferences is slow. I get "Loading" message in intelliJ Setting. Never seen it before

Almost everything I do in 8.x is much slower than 7

I have:
winxp pro sp3
3.4GHz with 3GB of RAM

I already disabled most of the plug ins and set vmoptions to the following:

-server
-Xms256m
-Xmx512m
-Xmn100m
-XX:MaxPermSize=150m

I already excluded intellij dirs from anivirus and google indexing. (was not an issue with 7.x)

Is there anything else i can do to speed it up? I can not upload snapshots. My proxy will block it.

I am sorry to say it, but after 5 years with Intellij i can see how it degraded. It is no more productive than crappy eclipse....
Please do not make me to use eclipse again.

How to improve performance???



Attachment(s):
9886_ychinskiy_29.07.2009_18.06.35.zip
9886_ychinskiy_29.07.2009_17.38.32.zip
7 comments
Comment actions Permalink

Hello,

I second that. The other developers in my current project can't understand why I use Idea. When they watch me do something, it usually makes a very poor impression. Often it just freezes for 10 - 30 seconds. I have to run Eclipse as well in order to be productive during project load, freezes etc. Freezes often happen when sources changed externally (MASSIVE numbers of generated Java source files from WebLogic ejbgen). It would be nice if that could happen in a background process. (I think it does, but apparently a lot of stuff happens before it is switched to the background.) What it can't handle well are HUGE projects with many modules and facets and ejb-jar.xmls with thousands of EJB-QL (2.x) queries. It also supports the @ejbgen:finder of WebLogic, so that EJB-QL code completion works even inside Java comments, but that seems to make it slow.

In a normal proper project Idea works great as always. I just can't chose where I work these days.

Doing certain things in background processes, things that were apparently considered to be fast enough to run in the EDT, and maybe run certain things like ejb-ql query parsers in a lowest thread priority background process, that might help a lot. Actual performance improvements may not even be necessary.

Kai

0
Comment actions Permalink

Kai, it would be very interesting to check the Maia EAP: http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP
Many more thing are run in the background and it contains a new indexing scheme that is claimed to be faster.
Of course, being an EAP there might well be other, new issues - JetBrains would certainly like to know about those ;-)

0
Comment actions Permalink

I'd just like to chip in that my experience of the EAP so far is that it
has been pretty stable and I can recommend it. I've hit a few bugs here and
there but nothing so far that has forced me to roll back to 8.x. Of course
YMMV, and who knows what future builds will bring.

Kai, it would be very interesting to check the Maia EAP:
http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP

Many more thing are run in the background and it contains a new
indexing scheme that is claimed to be faster.

Of course, being an EAP there might well be other, new issues -
JetBrains would certainly like to know about those ;)

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



0
Comment actions Permalink


Thank you for supporting my opinion.

My project does not involve modals or EE.

This is a hybrid of C/C++ code and Java and I am not using intellij for C++ (that plug in useless)

The codebase has around 2k+ java source files that mounts to about 700k lines of code; 10 jar dependencies.
It is running on 1.6.11

If I load it in 7, it is working ok, in 8 it is way to slow.

Like you mentioned, simple task of switching tabs or opening menu items may take 5-10 sec.
Loading my projects takes about 5 min.
Can intellij index only changed file? For example why does it re-index JVM and dependency jars if they did not change?

Any suggestion to improve the experience is appreciated.



0
Comment actions Permalink

The issue that IDEA re-indexes JDK and other jars is a bug.
It does not happen for me or most of the other folks around here.

Where do your project's files live? Are they on a local drive? Network? Any symlinks or hard links involved? Anything else that's special?
Same question for IDEA's system folder (where indices, caches, etc. are stored). It's usually <home>/.IntelliJIdea8x/system (or so, I am not really sure because I always put it somewhere else).
You can point IDEA to a new system folder by editing the idea.system.path property in the idea.properties file in the bin subfolder of IDEA's installation folder.

0
Comment actions Permalink

Hello,

the EAP does look pretty good, thanks for the tip!

The project loads fast now when restart Idea on the same day. During the first loading in the morning it still takes its usual 15 minutes. It does reindex stuff from the JDK.

Local HD, extremely normal installation. Everything in its default location.

Kai

0
Comment actions Permalink

Is your windows profile copied to/from a central server on login/logout?
Either way I think you try to move IDEA's system folder to another place (one that you are sure of is not accessed by other software and is on the local disk) - see property in <IDEA-installation-folder>/bin/idea.properties.

0

Please sign in to leave a comment.