Is it bug?

Alastair Reid
Sun, 23 Mar 2003 07:38:45 +0000

Serguey Zefirov <> writes:
> [huge program deleted]
> gives "Garbage collection fails to reclaim sufficient space." when
> loaded into Hugs Nov 2002 and asked to run "test".
> I think it shouldn't do that.

It sound like your program has a space leak.

I recommend profiling it using ghc, ghci or nhc which have excellent
space profiling tools in them.  If nothing else, running it with
another compiler would provide independent confirmation that the problem
is in the compiler or in the program.

Alastair Reid         
Reid Consulting (UK) Limited