[GHC] #1136: High memory use when compiling many let bindings.
GHC
trac at galois.com
Tue Jan 22 11:23:11 EST 2008
#1136: High memory use when compiling many let bindings.
------------------------------------------+---------------------------------
Reporter: igloo | Owner:
Type: compile-time performance bug | Status: new
Priority: high | Milestone: 6.8.3
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: performance | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
------------------------------------------+---------------------------------
Comment (by igloo):
J_mem_vs_time.png shows the memory use against time for J.hs, with
different values of numa/numb. It doesn't look like there is a complexity
problem, but the constant factor seems high, using about 10k per binding.
J_heap_profile.png is the heap profile for the largest case (400/20000),
and peak usage works out at about 5k per binding (the difference
presumably being due to the copying GC). Typecheck-Rename stands out, but
there are also a few other large space users.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1136#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list