#3664: Ghc eats tremendous heaps of RAM in -prof build (highlighting-kate)
-------------------------------------------+--------------------------------
Reporter: slyfox | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12 branch
Component: Compiler | Version: 6.12.1 RC1
Resolution: | Keywords:
Difficulty: | Os: Linux
Testcase: | Architecture: x86_64 (amd64)
Failure: Compile-time performance bug |
-------------------------------------------+--------------------------------
Comment (by slyfox):
> Eliminating external deps is the most important thing, as that makes it
much easier to try in a development compiler, or to compare 2 compilers.
>
> Apart from that, just making it as small as possible means that it is
quicker to build, easier to see what is going on (in terms of both the
source code, and the compiler debugging output), and makes it easy to add
a regression test to the testsuite.
OK, attached sample does not depend on external stuff (12 .hs files, 9 of
them are parsec-2 ones). Seems to need only compiler. I'm afraid I can't
trim it down to 1 small file, it's very fragile and seems to depend on
external inlining stuff. If I would know the nature of memory consumption
- I might try to make syntetic test by hands.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3664#comment:6>
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