Increasing stack size

Nicholas Nethercote njn25@cam.ac.uk
Mon, 11 Feb 2002 12:44:09 +0000 (GMT)


Hi,

I'm having trouble adjusting the stack size, viz:

  + cacheprof +RTS -K8M -RTS gcc -I. -I. -c /tmp/ghc5664.s -o PrelTup.c_o
  Stack space overflow: current size 1048576 bytes.
  Use `+RTS -Ksize' to increase it.

I'm trying to increase it!  The program was compiled with GHC 5.02.2.  Any
ideas why the stack size isn't increasing?

Thanks.
--
Nick Nethercote
njn25@cam.ac.uk