Edward Wiles writes:
> 
> Sorry. I meant -H16M, and *heap* space. With 4 megs of heapspace, the program
> consistently produces between 163000 and 164000 characters of output before
> giving up with an increase-your-heapspace error message. With 8 megs, it works
> much better (although the occasional "bus error" creeps in).
> 

If you have a program that shows up a bus error, we would be ever so
interested in getting hold of a copy that we could debug. 

> I, erm, think I'll give the hack a miss, though :-) It's not vital - there's
> a perl wrapper that calls the program anyway, so the +RTS -H16M -RTS can be
> hidden away. A command line option would be nice, however...
> 

That's not a hack, it's part of the RTS hooks GHC provides. And you
get to express these hooks in a Real World language - what more could
you possibly want?  :)

--Sigbjorn

Reply via email to