cvs commit: fptools/libraries Makefile.common fptools/libraries/HUnit Makefile.nhc98 fptools/libraries/HaXml/src Makefile.nhc98 fptools/libraries/OpenGL Makefile.nhc98 fptools/libraries/base Makefile.nhc98 fptools/libraries/haskell-src Makefile.nhc98

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Jul 1 05:51:20 EDT 2004


>   Log:
>   Centralized compiler differences for requesting additional heap/stack in a
>   single place. Only tested for bootstrapping via hbc, and this needs 170M
>   heap for Language/Haskell/Parser.hs. There seems to be a "small" space
>   leak here...:-]

Unfortunately, this change causes all my library builds to fail :-(

    nhc98 built with
	hbc		still seg-faults on Language.Haskell.Parser,
			  even with 170Mb
	ghc-5		exhausts 1Mb stack on Language.Haskell.Parser
			  and Text/XML/HaXml/OneOfN,
			also on the profiling builds of Text/Html,
			  Language/Haskell/Syntax, and Text/XML/HaXml/Parse.
	ghc-6		same as for ghc-5
	nhc98		exhausts 16Mb heap on profiling build of
			  Language/Haskell/Parser

Besides, I think it is better policy to set the heap/stack sizes
individually for each library package - keep the local requirements
local, rather than propagating them globally.  After all, some user
may not have enough physical memory to cope, and for them it would
be easier to just disable one package.

Regards,
    Malcolm


More information about the Cvs-libraries mailing list