Recent slowness of project loading?

Hi all,

Before I go log a Tracker request for this, I thought I'd ask if anybody
else has been seeing this.

Since the 65x builds I've seen my project loads getting slower and
slower to the point where now with 660, loading my project in a newly
started instance IDEA with the standard VM options takes about 5
minutes. 90% of that time is spent in "Updating caches" and "Saving
caches", during which my CPU (PIII 850) is pegged at 100%. I've also had
it hang with no CPU usage during those stages as well and I've only been
able to fix it by some random deletion of either the .iws file or the
cache file in IDEA\system. And if I've deleted the cache file, it can
take 20 minutes to rebuild the cache when I reopen the project.

My project has 3300 Java source files in three hierarchies (two of which
have overlapping packages), 100 configuration and script files and 30
jars in the classpath (some of which are up to 8MB in size).

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka -- Performance is Mission Critical

7 comments
Comment actions Permalink

Hello Gordon,
I am also facing the same problem as u are. When ever I open a medium sized
project, it takes lot of time to open. This is something really fustrating.
I am on a machine that has 520 mb ram with P4 1.7 processor. I really think
that there is performance problems with IDEA, and should be seriously dealt
with right now. There are many instances when my IDEA (build 660) will just
freeze for me and make my cpu go upto 100%. Right now I have downloaded
build 661 and I am seeing no difference in the poor performance.
Apart from the performance, all the other features defined inside IDEA are
very attractive to me. If you ask me, I will say that IDEA is going to be a
very outstanding and great product once they tune this IDE to consume much
less memory then it currently consumes.


0
Comment actions Permalink

Saumendra Poddar wrote:

very attractive to me. If you ask me, I will say that IDEA is going to be a
very outstanding and great product once they tune this IDE to consume much
less memory then it currently consumes.


I agree that IDEA is the best IDE available at the moment. But I don't
think the performance problem we're seeing is related to memory use. My
max memory indicator never goes above 60MB.

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka -- Performance is Mission Critical

0
Comment actions Permalink

It seems to be a tremendous amount of IO, the last few times I've moved (copied) the system dir... it has taken several minutes. The system dir is where all of the project setting and history is persisted.

0
Comment actions Permalink

"Gordon Tyler" <gordon.tyler@sitraka.com> wrote in message
news:aokd2i$u5m$1@is.intellij.net...

Hi all,

>

Before I go log a Tracker request for this, I thought I'd ask if anybody
else has been seeing this.

>

Since the 65x builds I've seen my project loads getting slower and
slower to the point where now with 660, loading my project in a newly
started instance IDEA with the standard VM options takes about 5
minutes. 90% of that time is spent in "Updating caches" and "Saving
caches", during which my CPU (PIII 850) is pegged at 100%. I've also had
it hang with no CPU usage during those stages as well and I've only been
able to fix it by some random deletion of either the .iws file or the
cache file in IDEA\system. And if I've deleted the cache file, it can
take 20 minutes to rebuild the cache when I reopen the project.

>

My project has 3300 Java source files in three hierarchies (two of which
have overlapping packages), 100 configuration and script files and 30
jars in the classpath (some of which are up to 8MB in size).


I haven't seen this problem. It takes a while to build caches when I first
create a project, but opening an existing project takes less than 5 seconds.

My machine is a 1.8 GHz Athlon, 1 GB RAM, Windows 2000. My project has 2349
Java source files (2716 classes), 18 XML files, 352 HTML files, and 15 jars
(totaling about 3 MB). I'm using build 660.


0
Comment actions Permalink

It seems to be a tremendous amount of IO, the last few > times I've moved (copied) the system dir... it has
taken several minutes. The system dir is where all of
the project setting and history is persisted.

I suggest you move (not copy) it. The system file on my machine takes up 2.17GB, but the IO grunt is needed coz of the fact that this is comprised of over 152,000 files and 2,100 folders. It takes a second to move but minutes to copy.

0
Comment actions Permalink

Gordon,

it's quite normal for IDEA to build caches when project is open first time.
Or do you have "building caches" progress window each time you opening the
project?

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Gordon Tyler" <gordon.tyler@sitraka.com> wrote in message
news:aokd2i$u5m$1@is.intellij.net...

Hi all,

>

Before I go log a Tracker request for this, I thought I'd ask if anybody
else has been seeing this.

>

Since the 65x builds I've seen my project loads getting slower and
slower to the point where now with 660, loading my project in a newly
started instance IDEA with the standard VM options takes about 5
minutes. 90% of that time is spent in "Updating caches" and "Saving
caches", during which my CPU (PIII 850) is pegged at 100%. I've also had
it hang with no CPU usage during those stages as well and I've only been
able to fix it by some random deletion of either the .iws file or the
cache file in IDEA\system. And if I've deleted the cache file, it can
take 20 minutes to rebuild the cache when I reopen the project.

>

My project has 3300 Java source files in three hierarchies (two of which
have overlapping packages), 100 configuration and script files and 30
jars in the classpath (some of which are up to 8MB in size).

>

Ciao,
Gordon

>

--
Gordon Tyler
Software Developer, R&D
Sitraka -- Performance is Mission Critical

>


0
Comment actions Permalink

Maxim Shafirov wrote:

it's quite normal for IDEA to build caches when project is open first time.
Or do you have "building caches" progress window each time you opening the
project?


No, I only get the "building caches" window the first time I open the
project with a new build, but the problem is that it takes 25 minutes!

However, I have discovered that the problem seems to have been a
"support" directory in my project directory that had another 5000 or so
files (Java source files, about 40 jars and a lot of HTML files), which
increased the total number of files in the project directory to about
10000. After I added an exclude in the porject for that directory and
deleted the cache, the project loaded and "built caches" for about 1
minute. A vast improvement.

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka -- Performance is Mission Critical

0

Please sign in to leave a comment.