[GHC] #15488: GHC takes up huge amount of memory when compiling accelerate 1.2.0

GHC ghc-devs at haskell.org
Wed Aug 8 01:05:52 UTC 2018


#15488: GHC takes up huge amount of memory when compiling accelerate 1.2.0
-------------------------------------+-------------------------------------
           Reporter:  noah           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  high           |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Linux
  accelerate,memory,compile          |
       Architecture:  x86_64         |   Type of failure:  Compile-time
  (amd64)                            |  performance bug
          Test Case:  accelerate     |        Blocked By:
  1.2.0                              |
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Every time I try to run

 {{{
 cabal install accelerate
 }}}

 the compiler take up nearly all 4GB of memory.

 Stracing it reveals that it seems to be spending nearly all of the time it
 runs checking a
 timer file descriptor, and occasionally checking
 its memory usage without actually doing anything
 about the problem.

 This makes installing accelerate nearly impossible.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15488>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list