Stack depth

Thu, 15 Feb 2001 20:04:28 -0500

I have a program which works fine, except that for certain (large) input
files I have to give it a larger than normal Stack (eg 4M in  ghc). GHC
allows one to profile heap, but I'd like to know how to profile stack
contents. Is there a means with ghc/hugs/or something else? Does anyone
have any suggestions on how to find out where stack's being used?