Parsing slow as hell - am I the only one experiencing this?

I am puzzled, I recently changed my job and began working on a relatively new pc ( PIV 2,4Ghz, 256Mb mem): the current build of aurora seem to have problems on my configuration. File parsing seem to never end, syntax highlighting takes seconds to appear completely, and the green icon on the left sometimes never show at all (for classes of around 2K lines parsing takes MINUTES): most of all, during parsing my CPU tops at 100%, and what is even more strange is that if I put IDEA in the background, parsing seem to completely stop, as if IDEA received no CPU cycles at all (0% in the taskmanager: even giving the focus to the taskmanager completely stops IDEA's parsing!!).

In addition, navigation via ctrl-b has problems: I have at least one library with source attached which, when I try to browse into its code, completely hangs idea. What has happened?!? Is this build experimental in some way or is my config screwed?!? All my other applications seem to work well, I don't understand what happens (the os is win2k sp4).

12 comments
Comment actions Permalink

yes, it could be faster for me, too (G4 1GHz). Especially in the main window of my project (~300 lines, a couple of event listeners) it is painfully slow.

Any ideas how to file the bug report (can't give away my source)?

Dirk Dittert

0
Comment actions Permalink

Any ideas how to file the bug report (can't give away
my source)?


Well, I experience this with every file I open, the longer the file, the more impossible the wait time: I don't think the particular piece of code is meaningful.

0
Comment actions Permalink

it's worse if the class is not straight forward (private classes and anonymous classes), which is typical for Swing GUIs. Just a couple of methods don't slow me down too much.

0
Comment actions Permalink

Just a suggestion, but you could try increasing the maximum amount of memory
allocated to IDEA. It's set to 128 Mb by default, but the more it can have,
the better. If the amount of memory in active use is getting close to this
limit the garbage collector will be getting called very frequently, which
would account for the slowdown.

I've had a similar problem myself in the past. It was resolved by setting
the limit to 512 Mb; now IDEA flies along. Obviously that won't be an option
if you only have 256 Mb of RAM in the machine, but give it as much as you
can possibly allow and you won't be sorry.

As a side note, I'd really suggest you get more RAM for that machine if
possible. 256 Mb is just not enough for a Java development machine these
days (IMO).

One last thing: yes the EAP releases are experimental. Their purpose is to
provide early access to new features which are under development, so that we
can provide feedback on them before the final release. The download page
makes this clear.

Hope that helps,
Vil.

Davide Baroncelli wrote:

I am puzzled, I recently changed my job and began working on a relatively new pc ( PIV 2,4Ghz, 256Mb mem): the current build of aurora seem to have problems on my configuration. File parsing seem to never end, syntax highlighting takes seconds to appear completely, and the green icon on the left sometimes never show at all (for classes of around 2K lines parsing takes MINUTES): most of all, during parsing my CPU tops at 100%, and what is even more strange is that if I put IDEA in the background, parsing seem to completely stop, as if IDEA received no CPU cycles at all (0% in the taskmanager: even giving the focus to the taskmanager completely stops IDEA's parsing!!).

In addition, navigation via ctrl-b has problems: I have at least one library with source attached which, when I try to browse into its code, completely hangs idea. What has happened?!? Is this build experimental in some way or is my config screwed?!? All my other applications seem to work well, I don't understand what happens (the os is win2k sp4).


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0
Comment actions Permalink

I don't believe it's a memory problem: I've set it to be able to reach 192Mb heap size, but during the parsing the heap size never passes 101M. Garbage collection occurs every 5 - 6 seconds, in my config (I've set 24 Mb young generation size), and takes 1/100 s, so it's not the problem. The problem is the computation takes forever to end, and tops my CPU at 100%, while if Idea has not the focus, it completely stops.

0
Comment actions Permalink

I have P4-2400MHz + 1Gb of RAM.
My IDEA runs with -Xms128m -Xmx512m -Xss16m.
Still it is damn slow - sometimes it takes minutes to parse a file completely. Very annoying :(

0
Comment actions Permalink

I have the same spec, can't say it's ever taken minutes for me. Plus I
often deal with lots of inner classes etc. There must be something else
at work here... my env var is simply -Xms128m -Xmx384m

N.

Sergei S. Ivanov wrote:

I have P4-2400MHz + 1Gb of RAM.
My IDEA runs with -Xms128m -Xmx512m -Xss16m.
Still it is damn slow - sometimes it takes minutes to parse a file completely. Very annoying :(


0
Comment actions Permalink

Davide Baroncelli wrote:

I am puzzled, I recently changed my job and began working on a relatively new pc ( PIV 2,4Ghz, 256Mb mem): the current build of aurora seem to have problems on my configuration. File parsing seem to never end, syntax highlighting takes seconds to appear completely, and the green icon on the left sometimes never show at all (for classes of around 2K lines parsing takes MINUTES): most of all, during parsing my CPU tops at 100%, and what is even more strange is that if I put IDEA in the background, parsing seem to completely stop, as if IDEA received no CPU cycles at all (0% in the taskmanager: even giving the focus to the taskmanager completely stops IDEA's parsing!!).


I'm seeing this as well. It can make typing quite difficult because it
lags behind my keypresses.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

I've been seeing this problem also. It's especially painful as I'm on a 533 MHz box.

0
Comment actions Permalink

I'm experiencing this as well...
I have to say it is THE major annoyance when I use IDEA.

I don't mind the EAP crashing from times to times.
I just restart the app, and while it does that, I just open a web browser to read some posts on a forum, or browse my emails...

But I can't stand having to wait ages before the code gets parsed so I can see the errors, even sometimes the GUI locks (especially during garbage collection cycles) and I really have to be patient...

Usually, the memory bar starts at a small amount of used memory, then I open a few classes (usually with lots of inner/inline classes) and it stays at some ridiculous amount of used memory so it forces me to restart the application completely to make it clean !

My config: P4 1.2GHz 384MB

0
Comment actions Permalink

Unfortunately this issue don't seem to have been solved or tackled in the 939 build.

0
Comment actions Permalink

WRT parsing performance,

my problem is somewhat similar:
I have an XML file that is about 270KB. Whenever I type a single letter in the editor, my machine (2.6 Ghz, -Xmx256M -Xincgc) is stunned for about a minute.
Is there any chance to temporarily switch of file parsing? (Instead of setting the file type of .xml to plain text)

Regards,

Armin

0

Please sign in to leave a comment.