[GHC] #750: Set -M value based on available virtual memory
GHC
trac at galois.com
Wed Apr 19 04:25:16 EDT 2006
#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
More information about the Glasgow-haskell-bugs
mailing list