[GHC] #13063: Program uses 8GB of memory

#13063: Program uses 8GB of memory -------------------------------------+------------------------------------- Reporter: codygman | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1-rc2 Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Compile-time (amd64) | performance bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When compiling this repo with stack build it uses 8GB of memory. Even using -O0 it runs quickly but uses 8GB of memory: https://github.com/codygman/frames-example-cdi I've attached a -ddump-simple-iterations log of this build. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13063 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13063: Program uses 8GB of memory -------------------------------------+------------------------------------- Reporter: codygman | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1-rc2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by codygman): The log is 1.8GB and failed to upload, but heres a google drive link: https://drive.google.com/file/d/0B7kqAY5hrqDwZzJnbXVvX2x2d1k/view?usp=sharin... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13063#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13063: Program uses 8GB of memory -------------------------------------+------------------------------------- Reporter: codygman | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1-rc2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by dfeuer): Can you explain how to reproduce this using GHC HEAD? Can you reduce it to a smaller example? Do you see a similar problem with 7.10? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13063#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC