Krzysztof Zelazowski wrote:
>
> Dear All,
>
> I have developed a WAP e-mail client using Turbine at Era GSM (telecom
> operator in Poland) - http://wap.eragsm.com.pl. At the moment, the
> up-time is about 4 months, and we haven't observed any performance
> weaknesses, however there is less than 1000 users which are using the
> service on weakly basis.
>
> I was thinking whether it would be a good idea to force garbage
> collection
> when the user exits from the application ?
>
> Also, I was expecting that GC will be done shortly after the user's
> session terminates, however I haven't observed this at any reasonable
> time.
>
> Any ideas?
I do not know of any way to "force" garbage collection using the
standard libraries, but you can inform the garbage collector that you
would like it to run using System.gc(). I think that the javax real
time package has hooks for controlling garbage collection, however (the
package is very non-standard).
--
Daniel Rall <[EMAIL PROTECTED]>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]