I'm not at all familiar with WAS internals.  Is garbage collection specific
to a particular session?  If not, then your suggestion will affect everyone,
not only the particular user that just got a response.  It would likely
generate a lot more garbage collection activity than otherwise.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Adam Thornton
Sent: Friday, December 09, 2005 11:25 AM
To: [email protected]
Subject: Re: zLinux/SLES9, WebSphere 6.x - recommended max. Java
heapsize


-snip-
Also, I think I dimly recall that there's some way in Java to force
garbage collection.  So in your app, pick a place where you're
generally waiting for the user anyway--maybe right after repainting
the screen waiting for user input--and force a gc there.  Since the
user will presumably be reading new data from the screen anyway, he
won't notice that the system is briefly unresponsive, since he's not
actually telling it to do anything at that moment.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to