ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Archives - All » MQVE freezes when backgrounded for a period of time

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 MQVE freezes when backgrounded for a period of time « View previous topic :: View next topic » 
Author Message
Iguana5-0
PostPosted: Wed Jun 01, 2005 1:08 pm    Post subject: MQVE freezes when backgrounded for a period of time Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Wed Jun 01, 2005 3:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
Iguana5-0
PostPosted: Thu Jun 02, 2005 4:18 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jun 02, 2005 8:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » MQVE freezes when backgrounded for a period of time
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.