Bulat Ziganshin wrote:
Hello glasgow-haskell-users,
i still forget to ask: if my program is idle during long time, is GC
will occur each 0.3 seconds or GHC is smart enough to check that no
much memory was allocated after last GC?
You'll only get one GC. Or at least that's the theory: I remember seeing cases
where one GC caused a finalizer to be created, which in turn triggered another
idle GC (because the heap had changed), which in turn created a new finalizer,
and so on. If you see something like this, we should investigate.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users