When to run the garbage collector
Robert van Herk
rherk at cs.uu.nl
Tue Jun 14 05:34:34 EDT 2005
Hello,
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?
Regards,
Robert
More information about the Glasgow-haskell-users
mailing list