Hello,
On Thursday 18 September 2008 20:37, Matthias Kilian wrote:
Hi,
does anyone else see haddock using huge amounts of memory (more
than 640MB) when building ghc-HEAD? It's always running out of
memory for me when haddocking the compiler itself (i386, OpenBSD,
datasize limit is set to 640MB):
I have seen this too on the linux buildbot slave that I run. And andygill
reported something similar on #ghc yesterday. So you are definitely not alone
with this problem.
gmake[1]: Entering directory `/var/tmp/ghc/ghc/compiler'
/var/tmp/ghc/ghc/libraries/cabal-bin /var/tmp/ghc/1/bin/ghc
/var/tmp/ghc/ghc/libraries/bootstrapping.conf
haddock --distpref dist-stage2 \
--haddock-option=--optghc=-DSTAGE=2 \
--with-haddock=/var/tmp/ghc/ghc/utils/haddock/install-inplace/bin/haddock
Preprocessing library ghc-6.9...
Running Haddock for ghc-6.9...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Preprocessing library ghc-6.9...
haddock: out of memory (requested 2097152 bytes)
gmake[1]: *** [doc.stage.2] Error 1
gmake[1]: Leaving directory `/var/tmp/ghc/ghc/compiler'
gmake: *** [stage2] Error 2
I wonder wether this is an OpenBSD specific bug, just an ordinary
memory leak, or Haddock really needing that much memory.(I'll just
disable haddocking for now to proceed with testing)
OpenBSD-specific it is not.
Ciao,
Kili
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc
Best regards
Thorkil
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc