[nhc-users] Setting the heap size at ct

Olaf Chitil olaf@cs.york.ac.uk
Thu, 01 Nov 2001 10:07:58 +0000


Hi Ralf,

> is there any way to specify the heap size (that is, to increase
> the default) of an executable at *compile time*?

Sure, e.g. -H10m sets the heap size of an executable to 10 MB.
(+RTS -H10m -RTS sets the heap size of the *compiler* to 10 MB).

Olaf 

-- 
OLAF CHITIL, 
 Dept. of Computer Science, University of York, York YO10 5DD, UK. 
 URL: http://www.cs.york.ac.uk/~olaf/
 Tel: +44 1904 434756; Fax: +44 1904 432767