#750: Set -M value based on available virtual memory
-------------------------------+--------------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.6
Component: Runtime System | Version: 6.4.1
Severity: normal | Keywords:
Os: Unknown | Difficulty: Easy (1 hr)
Architecture: Unknown |
-------------------------------+--------------------------------------------
From John Meacham:
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/750>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs