Ticket #7121 (closed feature request: worksforme)
garbage collection invokation, query functions for realtime
how about a function such as this:- invokeGarbageCollector :: IO (int,int)
which can be called in a "main loop" for interactive realtime application to ensure garbage does not build up between frames. returning (bytes used,bytes free) would give scope for making caching/throttling decisions. perhaps further options for passing a number of generations to affect, or an allowed amount of memory to move.