The latest version of gc is 0.1-1.

gc

Version 0 revision 0 uploaded by EdwardKmett.

Package meta

Synopsis
Poor Richard's Memory Manager
Description

This package implements a form of Poor Richard's Memory Manager by Hertz, Kane, Keudel, Bai, Ding, Gu and Bard in user-space in GHC.

Usage:

import System.Mem.Manager
main = do
  _ <- selfishManager
  ...

Now, the background thread that was spawned by selfishManager will watch for signs that the host operating system is starting to cause the current process to page out to disk and respond with more aggressive garbage collection.

This empowers your code to try to avoid the inevitable death spiral that follows when GC has to happen with paged out data.

Author
Edward A. Kmett
Bug reports
http://github.com/ekmett/gc/issues
Category
Data
Copyright
Copyright (C) 2015 Edward A. Kmett
Homepage
http://github.com/ekmett/gc/
Maintainer
Edward A. Kmett <ekmett@gmail.com>
Package URL
n/a
Stability
provisional

Components