POLL: GC options
Dylan Thurston
dpt@math.harvard.edu
Mon, 6 Aug 2001 10:15:01 -0400
On Mon, Aug 06, 2001 at 12:22:07PM +0100, Simon Marlow wrote:
> > I think that if there should be a default limit it would be nice to be
> > able to set it at compile time. This is something that I've wanted for
> > quite some time. If I know that the program I am compiling is
> > likely to
> > need 100M of heap space it feels silly having to give the RTS
> > parameter to
> > the program each time I run it. It would be much more
> > convenient to just
> > tell the compiler where I want the limit.
>
> You can do this using the hooks that the RTS provides, although it's a
> bit inconvenient at the moment because as Sigbjorn points out we don't
> ship the RtsFlags.h file which contains the definition of the flags
> structure :-(
I'd like to be able to set these options with a flag to the compiler.
--Dylan Thurston