Small pauses and gc

I posted this some time ago related to launching programs under idea:

It turns out that the reason was my

having started to use

the -XX:+UseConcMarkSweepGC parameter.


When I wrote this, I remembered that for a long time now (ever since it
appeared) I was running idea with this parameter, so I went and removed it.

What a difference... for the worse :(

The irritating delays (1/2 seconds) between key actions that I was free off
come back in full force.

I hadn't even noticed before that this small pauses where gone, it was only
now when they returned that I noticed that idea was running so much better
under concurrent gc.

I reset the concurrent gc parameter again to idea, and the irritating gc
pauses stopped. Very good :)

The only problem is that under concurrent gc idea locks sometimes :) But
under 1.4.1_01, I have seen only half a dozen locks up to now, so it's not
very bad.

I'm intending to stay using idea with concurrent gc, but it would be
interesting to know if anyone else has experimented with this.

Notes:

Right now I'm working with two small/medium? projects open at the same time:
total 900 java files/1150 classes, about 1500 (generated) xml files.

And I have to say that, under this pc (amd xp 2000, 512M ram, fast disk), I
have never had the pauses taking many seconds to minutes that others are
seeing, so my case probably doesn't apply to them.

But it's possible that it applies to the silent majority that is not seeing
those problems.



1 comment
Comment actions Permalink

I've been using concurrent + multiprocessor
IDEA_JVM_ARGS=-Xms96m -Xmx132m -XX:UseParallelGCUseConcMarkSweepGC
had no problem at all no lockups no crashes. First problem was today wit
build 670 JVM crashed suddenly while editing a file in a pretty small
project


"Carlos Costa e Silva" <carlos@keysoft.pt> wrote in message
news:aq26pc$jra$1@is.intellij.net...

I posted this some time ago related to launching programs under idea:

>

It turns out that the reason was

my

having started to use

the -XX:+UseConcMarkSweepGC parameter.

>

When I wrote this, I remembered that for a long time now (ever since it
appeared) I was running idea with this parameter, so I went and removed

it.
>

What a difference... for the worse :(

>

The irritating delays (1/2 seconds) between key actions that I was free

off

come back in full force.

>

I hadn't even noticed before that this small pauses where gone, it was

only

now when they returned that I noticed that idea was running so much better
under concurrent gc.

>

I reset the concurrent gc parameter again to idea, and the irritating gc
pauses stopped. Very good :)

>

The only problem is that under concurrent gc idea locks sometimes :) But
under 1.4.1_01, I have seen only half a dozen locks up to now, so it's not
very bad.

>

I'm intending to stay using idea with concurrent gc, but it would be
interesting to know if anyone else has experimented with this.

>

Notes:

>

Right now I'm working with two small/medium? projects open at the same

time:

total 900 java files/1150 classes, about 1500 (generated) xml files.

>

And I have to say that, under this pc (amd xp 2000, 512M ram, fast disk),

I

have never had the pauses taking many seconds to minutes that others are
seeing, so my case probably doesn't apply to them.

>

But it's possible that it applies to the silent majority that is not

seeing

those problems.

>
>
>


0

Please sign in to leave a comment.