getrlimit -M

Simon Marlow simonmarhaskell at
Wed Apr 19 04:25:53 EDT 2006

John Meacham wrote:
> perhaps if -M is not otherwise set, 'getrlimit(RLIMIT_AS,..)' could be
> called and the maximum heap size set to just under that, since it is the
> point that the OS will forcefully kill the program anyway.

Good idea, I've created a task ticket for it.


More information about the Glasgow-haskell-users mailing list