On 12 Apr 2002 at 17:00, Jon Steelman wrote:
>
> Garbage collection could be the cause of pauses for Alex McColgan.
> Here are samples from the dosbox (WindowsXP, jdk 1.3.1_03) log for
> #616 using -verbose:gc as part of the java execution in idea.bat. It
> is the occassional Full GC that really slows things down to a stop for
> a long time. Just because a Full GC pressing the Garbage Can button
> may not be that lengthy, for example I got less than 1 second pressing
> the garbage can,
> [GC 36347K->34488K(67356K), 0.0079248 secs]
> [GC 36536K->34476K(67356K), 0.0083843 secs]
> [Full GC 35633K->34374K(67356K), 0.8392983 secs]
> [GC 36385K->34594K(67356K), 0.0094970 secs]
> [GC 36638K->34615K(67356K), 0.0094048 secs]
You have less than a second here because you aren't garbage collecting much (35m to
34m)
>
> But a Full GC that issues on its own can be very lengthy like this one
> that happened on my system:
> [GC 67272K->65209K(67356K), 0.0106812 secs]
> [GC 67257K->65561K(67612K), 0.0409086 secs]
> [Full GC 67609K->34695K(67356K), 10.7844103 secs]
> [GC 36743K->34819K(67356K), 0.0131089 secs]
> [GC 36859K->34893K(67356K), 0.0108816 secs]
>
Down here we are garbage collecting 30 megabytes.
How much memory do you have in your box? How many applications are running at the
time
you recorded this? I have found that unless I have the entire IDEA program in
physical RAM,
I get the long pauses, presumably because it has to swap to do a garbage collection.
(mark &
sweep across the heap).
I run with 1Gig of memory, and have never had a problem since I upgraded the memory.
Occasionally I'll get pauses that coincide with "synchronizing output �" down in the
lower left
status display.
Print up the performance meter to determine whether or not you are swaping when you
garbage collect.
Mike
---
[EMAIL PROTECTED]
To obtain my PGP public key, mail "SEND PUB KEY" in the
subject to "[EMAIL PROTECTED]"
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features