logo       

[GHC] #750: Set -M value based on available virtual memory: msg#00048

lang.haskell.glasgow.bugs

Subject: [GHC] #750: Set -M value based on available virtual memory

#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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise