Diagnosing excessive memory usage / crash when compiling - 9.8.1

Ben Gamari ben at smart-cactus.org
Fri Feb 16 02:23:02 UTC 2024


Justin Bailey <jgbailey at gmail.com> writes:

> Well, after running with these flags, one of the `.dump-simpl` files
> is 26 GB! That's also the module it seems to hang on, so pretty sure
> something is going wrong there!
>
> I was seeing output indicating GHC had allocated 146GB during some of
> the passes ???
>
The high coercion sizes here suggest that this is some variant of #8095.
Having another minimal reproducer is always useful.

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20240215/8e7ff2ad/attachment.sig>


More information about the ghc-devs mailing list