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.
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.
[Skip to Readme]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
test-doctests | Enabled | |
test-hlint | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- gc-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0, 0.0.1, 0.0.2, 0.0.3, 0.1 |
---|---|
Change log | CHANGELOG.markdown |
Dependencies | base (>=4.7 && <5) [details] |
Tested with | ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.1 |
License | BSD-3-Clause |
Copyright | Copyright (C) 2015 Edward A. Kmett |
Author | Edward A. Kmett |
Maintainer | Edward A. Kmett <ekmett@gmail.com> |
Category | Data |
Home page | http://github.com/ekmett/gc/ |
Bug tracker | http://github.com/ekmett/gc/issues |
Source repo | head: git clone git://github.com/ekmett/gc.git |
Uploaded | by ryanglscott at 2017-04-27T11:51:20Z |
Distributions | NixOS:0.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3356 total (23 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-04-27 [all 1 reports] |