Hi Bernie,
> I've been playing with the FFI in GHC 5.02.2
>
> I'm not sure if I'm using it correctly because I get a space leak
> in my program.
I just tried your example and it seems to run in constant space here
with 5.02.2. The code looks fine - this isn't something we really
envisaged peop
Hi Simon,
(posted to [EMAIL PROTECTED] in case anyone else is
reading this).
> I just tried your example and it seems to run in constant space here
> with 5.02.2. The code looks fine - this isn't something we really
> envisaged people doing with the RTS API, but there's no real problem
> with i
Hi Bernie,
Thanks for a very well researched bug report. I've looked into it, and
there is indeed a space leak (well, two in fact). The reason I didn't
notice before was because I was looking at the heap stats rather than
using top; one of the leaks was with memory from malloc(), and the other