[Haskell-cafe] how to run in bounded space?
johannes.waldmann at htwk-leipzig.de
Tue Dec 12 13:20:11 UTC 2017
is there an easy way (in GHC Haskell)
to run a computation until it (times out or)
requires more than X MB of heap?
(the main program has a larger heap,
but the computation should use some part of it only)
This would be nice for automated tests
with predictable resources (time and space).
There is Control.Timeout.
I guess I want Control.Spaceout.
More information about the Haskell-Cafe