Frank A. Christoph <[EMAIL PROTECTED]> writes: 
> 
> Since the -M option has been co-opted for other purposes by 
> the ghc Perl startup script, and you can't pass explicit RTS 
> options to the compiler itself (why isn't this allowed?), 
> it's impossible to compile modules which need more than 64MB 
> of heap space. (64mb is the default maximum for the new 
> automated heap-growing.) For example, on my Linux 
> installation, ParseIFace.lhs needs something like 72MB to 
> compile, so I had to alter the startup script to pass an 
> extra -M72mb when compiling that file with the 4.02 compiler 
> itself.  (BTW, can we expect the compiler to be a less 
> memory-intensive when it is released?)
> 

Use -optCrts<option> to feed options to the RTS of the compiler,
i.e., -optCrts-M72M 

--Sigbjorn

Reply via email to