|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQVE freezes when backgrounded for a period of time |
« View previous topic :: View next topic » |
Author |
Message
|
Iguana5-0 |
Posted: Wed Jun 01, 2005 1:08 pm Post subject: MQVE freezes when backgrounded for a period of time |
|
|
Newbie
Joined: 01 Jun 2005 Posts: 7 Location: North Carolina, USA
|
If I have been using MQVE, and it goes to the background for a period of time, when I come back to it, it is frozen up. I have to kill the app completely. I am using v1.3.1 with Sun JDK 1.4.2_03. Any help you can provide would be great. _________________ Chris Rhoden |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Jun 01, 2005 3:09 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
It is not MQVE. Some architect at Sun got the bright idea that Java should be an awesome Windows application and be extremely well behaved.
So rather than let the OS (Windows) swap the JVM and running Java application out, the JVM will completely unload the application and the JVM (except for a JVM stub). This will free up memory and system resources of course, but when the Java application is brought to the foreground, the JVM, first has to load the JVM, the load the application, load all of the objects that were being used etc...
This will take a while. By you will pay a double whammy if you don't have much memory (i.e. 256 or 512MB) because Windows will need to swap out an exiting application. My guess is that your PC is thrashing and is taking forever to reload everything.
MQVE goes completely idle when you are not using it (no background threads) – of course, this is both good and bad. I've often thought about adding a background thread that pops every second and adds 1 to a counter. This would keep the JVM from unloading the itself and app.
Humm, I’ll give it some thought.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
Iguana5-0 |
Posted: Thu Jun 02, 2005 4:18 am Post subject: |
|
|
Newbie
Joined: 01 Jun 2005 Posts: 7 Location: North Carolina, USA
|
Yeah, I am running with 1GB of memory. I have waited for quite a while, and with it "foregrounded", it never seems to recover. Maybe I am just not patient enough.
Are there any solutions short of closing the app down instead of backgrounding it? Would a different JDK version or vendor alleviate the problem? Thanks for your help. _________________ Chris Rhoden |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Jun 02, 2005 8:21 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
You could try out the latest JDK / JRE from Sun to see if it helps.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|