Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

slowdown in JDK 1.6

Thread view: 
Roedy Green - 27 Aug 2007 02:34 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.

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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.