[Haskell-cafe] Setting runtime memory limits on GHC programs to avoid thrashing

John D. Ramsdell ramsdell0 at gmail.com
Fri Dec 10 13:28:05 CET 2010


Enclosed is a simple script that sets GHCRTS and provides a reasonable
memory limit on systems that have /proc/meminfo.  By default, the GHC
runtime will grow to a size that can cause thrashing.

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memfree.sh
Type: application/x-sh
Size: 366 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101210/913d6bfd/attachment.sh>


More information about the Haskell-Cafe mailing list