Memory usage exploding for complex pattern matching
ben at smart-cactus.org
Fri Mar 30 14:46:02 UTC 2018
"Victor Miraldo (UU)" <v.cacciarimiraldo at uu.nl> writes:
>>> I have just tried compiling my code with 8.4.2 and using
>>> I gave GHC 12GB of ram and it still ran out (through `ulimit
>> Hmmm, I'm a bit confused. Why are our results so different? How
>> precisely are you invoking GHC?
> Here I meant my whole code, not just the repro. I could have been more clear.
> Nevertheless, I'm calling it through stack:
I'll admit that I am a bit lost; Minimal.hs compiles for me with a
maximum residency of ~3.5 GBytes with both -O1 and the PM check enabled
using GHC 8.4.1. Is this not the repro you are referring to?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs