I have seen a pattern with JDK 1.6, even with Jet, also in a variety
of old apps that did not do this on older JVMs.
They run slower and slower, speeding up for short periods of time.
Restarting them brings them up to full speed. This is the expected
behaviour if the app were packratting. see
http://mindprod.com/jgloss/packratting.html
GC gets more and more frequent, and recovers less and less RAM as it
proceeds. I am suspicious the JVM itself is packratting, not the app.
I have not run any sort of memory profiler.
Has anyone seen this or experimented to figure out what is going on?

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Knute Johnson - 27 Aug 2007 04:23 GMT
> I have seen a pattern with JDK 1.6, even with Jet, also in a variety
> of old apps that did not do this on older JVMs.
[quoted text clipped - 8 lines]
>
> Has anyone seen this or experimented to figure out what is going on?
I've got some apps that are running for weeks at a time and after I
fixed all the places where I didn't dispose of my JDialogs it was fine.
Most of those are currently running on 1.6.0_00 under XP.

Signature
Knute Johnson
email s/nospam/knute/
Jacky - 27 Aug 2007 08:43 GMT
I think you can run a memory profiler to get more detail of this case.
Roedy Green - 27 Aug 2007 09:10 GMT
>I think you can run a memory profiler to get more detail of this case.
I was hoping others would know the answer and save me that work. It
might not even be an internal memory problem.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 28 Aug 2007 04:52 GMT
On Mon, 27 Aug 2007 01:34:59 GMT, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :
>I have seen a pattern with JDK 1.6, even with Jet, also in a variety
>of old apps that did not do this on older JVMs.
one slowdown pattern is not in Java at all but in Flash and Shockwave.
My hypothesis is a laptop will slow down to conserve power if you
don't hit the keyboard for a long time . I discovered these same apps
don't slow down on my desktop machine.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com