gc: Poor Richard's Memory Manager
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.
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.
[Skip to Readme]
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0, 0.0.1, 0.0.2, 0.0.3, 0.1|
|Dependencies||base (>=4.8 && <5) [details]|
|Copyright||Copyright (C) 2015-2021 Edward A. Kmett|
|Author||Edward A. Kmett|
|Maintainer||Edward A. Kmett <email@example.com>|
|Revised||Revision 1 made by EdwardKmett at 2021-04-13T22:46:03Z|
|Source repo||head: git clone git://github.com/ekmett/gc.git|
|Uploaded||by EdwardKmett at 2021-04-13T18:58:35Z|
|Reverse Dependencies||1 direct, 0 indirect [details]|
|Downloads||3087 total (15 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]