
#9332: Memory blowing up for strict sum/strict foldl in ghci -------------------------------------+------------------------------------- Reporter: | Owner: artella.coding | Status: closed Type: bug | Milestone: 7.8.4 Priority: high | Version: 7.8.3 Component: GHCi | Keywords: ghci, strict, Resolution: fixed | memory Differential Revisions: | Operating System: Linux Architecture: x86_64 | Type of failure: Runtime (amd64) | performance bug Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+------------------------------------- Comment (by artella.coding): Hi, I am a bit confused myself. When I marked it to high, I did not know a way around the issue. However later I found a solution (see http://stackoverflow.com/questions/24838982 /memory-blowing-up-for-strict-sum-strict-foldl-in-ghci) and I closed it (because I didn't want a ticket to be marked as an open bug if it wasn't a bug). Following the comments in http://stackoverflow.com/questions/24838982 /memory-blowing-up-for-strict-sum-strict-foldl-in-ghci I found that the only way that I could run the code without it blowing up in ghci is to run it as follows : {{{ ghci -fobject-code Test }}} '''and''' to have the header : {{{ module Main (main) where }}} What would be your suggestion? Is it a bug? Thanks -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9332#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler