GHC 7.8.3 thread hang

Gregory Collins greg at gregorycollins.net
Tue Nov 11 23:01:48 UTC 2014


On Tue, Nov 11, 2014 at 2:06 PM, Michael Jones <mike at proclivis.com> wrote:

> Those are all over the log even when it runs properly. So I assume the
> runtime is resizing the heap or something.


No, it means you're exhausting the heap (maybe the runtime stack for the
thread running "encode"), probably because "encode" is infinite-looping. I
think Occam's razor applies here, check that any recursion you're doing is
actually reducing the recursive argument. Perhaps you could post the code
(e.g. http://gist.github.com/)?

G


-- 
Gregory Collins <greg at gregorycollins.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20141111/2772d7dc/attachment.html>


More information about the Glasgow-haskell-users mailing list