963 Editor Performance absolutely horrible

I'm not sure what's causing this, perhaps someone can shed some light, but the performance in the editor is just horrible. Typing words just hang there for a few seconds then they show up. Copy and paste takes a good 20 seconds. When there is a suggestion to add an import pressing atl+enter and having the import added takes 10 seconds... I'm starting to sound like a MasterCard commercial...

Copy and Paste 20 seconds
Import Statement 10 seconds
Typing code and not having it show up right away... Priceless.


What's up with this build? Is there anything I'm doing, or that I can do make IDEA less busy doing what ever it's doing and taking away my valuable coding speed? (not like I'm superman or anything, but I'm definitely faster at typing than a 5 year old... which is what the speed is tuned to now. My Commodore 64 went faster than this)

R

17 comments

I agree. Compared to IDEA 3.0.* the EAP versions are very sloooooow.

Tom

0

Forgot: ... and IDEA 3.0.* was slower than any previous release.

Tom

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yeah, but Thomas I've never seem this hesitation while typing text in
other builds, this seems to be a 693 specific problem... perhaps I
wasn't in 957 long enough, but not I've got tons to do, and this sucker
takes for ever to let me type a couple of words. I don't have any kind
of virus checker, all my files are local... I'm at a complete loss as to
why this would be this slow.

it's a real bummer.

R

Thomas Singer wrote:

| Forgot: ... and IDEA 3.0.* was slower than any previous release.
|
| Tom
|
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rRQJ+cV9vuB27SARAjviAJ9mX5Xv9W0ClSmKyk/rYJTqkzeoZQCfccNE
2iiEZJZOxN5Crjr7m4To9b8=
=5+qA
-


END PGP SIGNATURE-----

0

Well, just edit maximum heap size in
%IDEA_HOME%\bin\idea.lax under :

  1. LAX.NL.JAVA.LAUNCHER.MAIN.METHOD

  2. --------------------------------


from let say "-Xmx128m" to "-Xmx300m"


the "editor performance" would be much better.

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems that I've figured out the problem. I turned off Local VCS and
removed its caches and now everything is OK. it used to be that for
every key pressed it would write something to the hard drive... that's
nuts. Not sure what's going on in there, but it can't be good.

Hope this helps someone else.

R

Thomas Singer wrote:

| I agree. Compared to IDEA 3.0.* the EAP versions are very sloooooow.
|
| Tom
|
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rRgd+cV9vuB27SARAlEMAKDsYOvda13YGrbOWS4YmMe64fw6mACeKBPg
l1LNXxBJOH4nQ9MHQYPRQow=
=akK/
-


END PGP SIGNATURE-----

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

One neat thing I discovered in the process is that I can simply remove
the sourceSafe and UI designer in the process and it doesn't throw
exceptions like it used to. Thank God, 2 plugins I have no interest in
which IDEA doesn't have to load at startup.

R

Robert S. Sfeir wrote:

| It seems that I've figured out the problem. I turned off Local VCS and
| removed its caches and now everything is OK. it used to be that for
| every key pressed it would write something to the hard drive... that's
| nuts. Not sure what's going on in there, but it can't be good.
|
| Hope this helps someone else.
|
| R
|
| Thomas Singer wrote:
|
| | I agree. Compared to IDEA 3.0.* the EAP versions are very sloooooow.

| | Tom

-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rRle+cV9vuB27SARAn5DAKCxJRWvjyymwN5CxZwOSR0AghDQYwCg8Vjh
KYuovuUBPqr9gfIfg4Eckrg=
=cEHl
-


END PGP SIGNATURE-----

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

heh I'm already at 256 512... doesn't do anything.

R

Robert S. Sfeir wrote:

| One neat thing I discovered in the process is that I can simply remove
| the sourceSafe and UI designer in the process and it doesn't throw
| exceptions like it used to. Thank God, 2 plugins I have no interest in
| which IDEA doesn't have to load at startup.
|
| R
|
| Robert S. Sfeir wrote:
|
| | It seems that I've figured out the problem. I turned off Local VCS and
| | removed its caches and now everything is OK. it used to be that for
| | every key pressed it would write something to the hard drive... that's
| | nuts. Not sure what's going on in there, but it can't be good.

| | Hope this helps someone else.

| | R

| | Thomas Singer wrote:

| | | I agree. Compared to IDEA 3.0.* the EAP versions are very sloooooow.

| | | Tom

-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rRmy+cV9vuB27SARAvYHAKCZGyk0n7oZApCTpEZcHc2CE2uNlQCg/byP
85dBhycGBXcNPeiOHzG9k=
=2/8P
-


END PGP SIGNATURE-----

0

Try this:
lax.nl.java.option.additional=-Xms96m -Xmx96m -XX:UseParNewGCUseConcMarkSweepGC -Djars.nocopy=true -Didea.no.jdk.check=true -Didea.system.path="~
.IntelliJIdea
system" -Didea.config.path="~
.IntelliJIdea
config" -Didea.popup.weight=heavy

Clean up the system cache every now and then. (The one where IDEA stores it's stuff.) Keep only the config files, just delete the rest and start again.

Minimize local CVS to one day. I have a habit of hitting CTRL+S all the time - you can guess how huge my local CVS was after three days work... I suspect the editor would be much faster without the local CVS but since this is still EAP better safe than sorry ;)

Remove all plugins that are not needed. (The UI designer is bit tricky since it seems that you start to get 'class not found' exceptions on files that contain swing stuff if it is removed from the plugins folder)

My Aurora seems to do just fine with that 96m setting.. Increasing the memory would only make those long gc runs even longer...

P.S.
The project size is some 700 source files. CVS is enabled and used heavily =)

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

THanks that did help a little. I filed a bug, it seems it's the error
checking parser that is way too agressive, I slowed it down to 2000ms
and things were better. After your settings below, I changed the error
checking back to 300ms and it seems to hold up OK, but I haven't been in
there long enough to really judge it.

Thanks
R

Hezekiel wrote:
| Try this:
| lax.nl.java.option.additional=-Xms96m -Xmx96m
- -XX:UseParNewGCUseConcMarkSweepGC -Djars.nocopy=true
- -Didea.no.jdk.check=true -Didea.system.path="~
.IntelliJIdea
system"
- -Didea.config.path="~
.IntelliJIdea
config" -Didea.popup.weight=heavy
|
| Clean up the system cache every now and then. (The one where IDEA
stores it's stuff.) Keep only the config files, just delete the rest and
start again.
|
| Minimize local CVS to one day. I have a habit of hitting CTRL+S all
the time - you can guess how huge my local CVS was after three days
work... I suspect the editor would be much faster without the local CVS
but since this is still EAP better safe than sorry ;)
|
| Remove all plugins that are not needed. (The UI designer is bit tricky
since it seems that you start to get 'class not found' exceptions on
files that contain swing stuff if it is removed from the plugins folder)
|
| My Aurora seems to do just fine with that 96m setting.. Increasing the
memory would only make those long gc runs even longer...
|
| P.S.
| The project size is some 700 source files. CVS is enabled and used
heavily =)
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rrgZ+cV9vuB27SARAo83AKCdwpG5kQqPm8bjVkxKBqvdoaF6RwCbBDqo
US18ci6pcIWXe5YcjbJRBRw=
=OTdJ
-


END PGP SIGNATURE-----

0

Hezekiel <tilaus@almasoftware.com> wrote:

The project size is some 700 source files. CVS is enabled and used heavily =)


What platform are you on (Hardware/Os)?

Dirk Dittert

0

Robert S. Sfeir <robert@codepuccino.com> wrote:

THanks that did help a little.


What platform are you on right now? I am thinking about a new PowerMac
G5 but if IDEA is not fast enough, a PC with Linux will have to do the
job...

Dirk Dittert

0

Dirk I'm on a PC, but Laprun is on a Mac, and he's not having these problems :)

R

0

Robert S. Sfeir <robert@codepuccino.com> wrote:

Dirk I'm on a PC, but Laprun is on a Mac, and he's not having these
problems :)


That's good to hear that you are on PC. If it is slow on PC there's hope
that it's going to be optimized for final release. It's weird that you
don't have these problems with your Mac. For me, I even thought about
switching to Eclipse because of the terrible typing speed in my project
on my Powerbook (just about 150 classes).

Thanks,

Dirk

0

To me 963 seems no slower than any other build. I guess it is your
config/cache.

My advice to anyone using EAP builds is always do a clean install.

I always install all user settings and VCS to the IDEA dir, never accept the
defaults.

Colin

"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:boj46a$umc$1@is.intellij.net...

---BEGIN PGP SIGNED MESSAGE---
Hash: SHA1

>

Yeah, but Thomas I've never seem this hesitation while typing text in
other builds, this seems to be a 693 specific problem... perhaps I
wasn't in 957 long enough, but not I've got tons to do, and this sucker
takes for ever to let me type a couple of words. I don't have any kind
of virus checker, all my files are local... I'm at a complete loss as to
why this would be this slow.

>

it's a real bummer.

>

R

>

Thomas Singer wrote:

>

| Forgot: ... and IDEA 3.0.* was slower than any previous release.
|
| Tom
|
---BEGIN PGP SIGNATURE---
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

>

iD8DBQE/rRQJ+cV9vuB27SARAjviAJ9mX5Xv9W0ClSmKyk/rYJTqkzeoZQCfccNE
2iiEZJZOxN5Crjr7m4To9b8=
=5+qA
---END PGP SIGNATURE---

>


0

In article <1g47ph5.y6xue8t3flklN%dittert@despammed.com>,
dittert@despammed.com (Dirk Dittert) wrote:

Robert S. Sfeir <robert@codepuccino.com> wrote:

Dirk I'm on a PC, but Laprun is on a Mac, and he's not having these
problems :)


That's good to hear that you are on PC. If it is slow on PC there's hope
that it's going to be optimized for final release. It's weird that you
don't have these problems with your Mac. For me, I even thought about
switching to Eclipse because of the terrible typing speed in my project
on my Powerbook (just about 150 classes).


Until the most recent EAP release, IDEA was plenty fast on my G4 tower.
(The project has about 3500 classes.) The most recent EAP is pretty slow
sometimes, but not unbearable.

0

Erik Hanson <ehanson-lists@eh.cdeh.org> wrote:

Until the most recent EAP release, IDEA was plenty fast on my G4 tower.
(The project has about 3500 classes.) The most recent EAP is pretty slow
sometimes, but not unbearable.


That's funny ;) For me, it's just the other way around (but #963 is a
step back again).

Dirk Dittert

0

enabled and used heavily =)
What platform are you on (Hardware/Os)?
Dirk Dittert


Compaq EVO N800v (1,6GHz 512MB)/WinXP

0

Please sign in to leave a comment.