IIRC that has some weird caveats. Might work for your use case, might not.

On Tue, Dec 12, 2017 at 1:52 PM, Johannes Waldmann <johannes.waldmann@htwk-leipzig.de> wrote:
Thanks for the replies.

> Currently the heap overflow exception is not catchable.

um, perhaps I can use this:
https://hackage.haskell.org/package/base-4.10.1.0/docs/GHC-Conc.html#v:enableAllocationLimit

- J
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.



--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net