getrlimit -M

Simon Marlow simonmarhaskell at gmail.com
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.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list