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]
|Versions [faq]||0, 0.0.1, 0.0.2, 0.0.3|
|Dependencies||base (>=4.7 && <5) [details]|
|Copyright||Copyright (C) 2015 Edward A. Kmett|
|Author||Edward A. Kmett|
|Maintainer||Edward A. Kmett <firstname.lastname@example.org>|
|Source repo||head: git clone git://github.com/ekmett/gc.git|
|Uploaded||by ryanglscott at Thu May 2 16:39:43 UTC 2019|
|Distributions||LTSHaskell:0.0.3, NixOS:0.0.3, Stackage:0.0.3|
|Downloads||1247 total (54 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by rule of succession]|
Docs available [build log]
Last success reported on 2019-05-02 [all 1 reports]
For package maintainers and hackage trustees