[GHC] #778: memory leak
GHC
trac at galois.com
Fri Jun 2 04:52:44 EDT 2006
#778: memory leak
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.4.3
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution:
Keywords: memory | Difficulty: Unknown
Architecture: Unknown | Os: Linux
-------------------------+--------------------------------------------------
Comment (by simonmar):
The SIGALRMs are normal, that's just GHC's interval timer (we shouldn't
really be using SIGALRM, but that's another issue).
It seems that GHC is just allocating all the memory, and I don't know why.
It's odd that changing CFLAGS makes a difference: we don't actually use
CFLAGS in our build system, so I have no idea what effect setting it has.
The next step for debugging is to compile GHC with debugging support, and
generate some debugging logs. In your build tree:
{{{
$ cd ghc/compiler
$ rm stage2/ghc-*
$ make stage=2 EXTRA_HC_OPTS=-debug
$ ./stage2/ghc-inplace --interactive +RTS -Ds -Sstderr 2>&1 | tee log
}}}
and send/attach the log file. (you should be able to attach files using
the "Attach File" button above).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/778>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list