[GHC] #9771: Excessive memory usage compiling T3064
GHC
ghc-devs at haskell.org
Wed Nov 5 09:56:38 UTC 2014
#9771: Excessive memory usage compiling T3064
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: simonpj
Type: bug | Status: new
Priority: highest | Milestone: 7.10.1
Component: Compiler | Version: 7.9
Resolution: | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: Compile- | Blocked By:
time performance bug | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by hvr):
Replying to [comment:2 simonpj]:
> There really ought to be a way to ensure that tests don't go AWOL and
eat all resources, though.
Well, one could either pass some +RTS options to ghc to limit its heap via
`-M<size>` (which otoh distorts GHC's reported memory stats, and relies on
the RTS to correctly enforce that limit), or (at least on Linux, so I'm
not sure what to do for Windows buildbots) you can use `ulimit` to impose
a memory allocation limit for a process (and its children).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9771#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list