[GHC] #15455: Memory usage when compiling jsaddle-dom exploded in 8.4.3

GHC ghc-devs at haskell.org
Sun Dec 30 10:43:10 UTC 2018


#15455: Memory usage when compiling jsaddle-dom exploded in 8.4.3
-------------------------------------+-------------------------------------
        Reporter:  eskimor           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.10.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by eskimor:

Old description:

> Compiling jsaddle-dom (the JSDOM.Types module in particular) requires
> quite a lot of memory on 8.2.2 already, but with 8.4.3 I am no longer
> able to compile it at all with 8 GB of RAM. At first I thought it could
> be related to #15304 but passing `-fno-worker-wrapper` does not seem to
> make much of a difference, therefore it might me a different cause here.
>
> Reproduce:
>
> {{{
> git clone git at github.com:ghcjs/jsaddle-dom.git
> cd jsaddle-dom
> sed -i 's/? "default"/? "ghc843"/1' shell.nix
> nix-shell
> cabal new-build
> }}}

New description:

 Compiling jsaddle-dom (the JSDOM.Types module in particular) requires
 quite a lot of memory on 8.2.2 already, but with 8.4.3 I am no longer able
 to compile it at all with 8 GB of RAM. At first I thought it could be
 related to #15304 but passing `-fno-worker-wrapper` does not seem to make
 much of a difference, therefore it might be a different cause here.

 Reproduce:

 {{{
 git clone git at github.com:ghcjs/jsaddle-dom.git
 cd jsaddle-dom
 sed -i 's/? "default"/? "ghc843"/1' shell.nix
 nix-shell
 cabal new-build
 }}}

--

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


More information about the ghc-tickets mailing list