Skip to content
ekmettPublic

About

Poor Richard's Memory Manager

Resources

Stars

15 stars

Watchers

4 watching

Forks

Repository files navigation

gc

Build Status

Experimenting with building Poor Richard's Memory Manager in Haskell user space.

import System.Mem.Manager

main = do
  _ <- selfishManager
  ...

Now an oracle would look for signs of memory pressure from the host operating system and attempt more aggressive garbage collection in response. The current implementation matches the 'GenMS+Selfish' scheme from the original paper due to lack of information from GHC about how many pages have been returned to the OS.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

About

Poor Richard's Memory Manager

Resources

Stars

15 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages