[Haskell-cafe] how to run in bounded space?

Brandon Allbery allbery.b at gmail.com
Tue Dec 12 18:57:28 UTC 2017


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 at 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20171212/961e9597/attachment.html>


More information about the Haskell-Cafe mailing list