
15 Jun
2005
15 Jun
'05
7:29 a.m.
On 14 June 2005 10:35, Robert van Herk wrote:
I noticed that it is possible to run the garbage collector explicitely...
Currently, I am writing a stateful webserver, that once in a while (e.g. every 30 minutes) can discard a lot of memory (because every 30 minutes sessions time out and their state can be thrown away).
Would it be wise to call the garbage collector explicitely, directly after this cleanup is done?
Sounds reasonable, otherwise it might be a while before a major GC runs. In CVS we have a new idle GC feature: the GC is run automatically after a specified amount of idle time. This might be useful in your case, too. (it is only activated in -threaded mode right now). Cheers, Simon
7280
Age (days ago)
7280
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow