#2783: RTS -K/-M options not honored
---------------------------------+------------------------------------------
Reporter: j.waldmann | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: major
Keywords: | Testcase:
Architecture: Unknown/Multiple | Os: Linux
---------------------------------+------------------------------------------
I have this program
main = print $ do x <- [ 0 .. 5 ] ; let { y = 5 - y } ; return y
I compile with ghc-6.10.1 --make
and I execute with +RTS -M10m -K10m
but still the executable quickly eats up all my memory.
(I know the program is silly but still it should crash
gracefully.)
When I do the same thing with ghc-6.8.3,
I get "Heap exhausted", as it should be.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2783>
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