Hi Dušan,
Could you open a GHC ticket with a reproducing example?
It looks similar to
https://gitlab.haskell.org/ghc/ghc/-/issues/16577 so you may have
more chance with `-O0`.
Thanks,
Sylvain
Dear Café,
How can I compile large data in the source code? The data structure contains a few numerical and String constants and a long list of structures (containing two short lists of Strings).
If I use ghci, it's fine, no problem (until some size). When I want to compile then I run out of memory (32GB, plus 32GB swap) on arch linux. Yes, machine with 256GB solved temporarily the problem, but only temporarily.
The data is generated (about 10.000 elements for the list and more). Should it be read from the file during the runtime? Should the structure be somehow decoupled (to small lists, each of them in a separate file)? Or there is no way, how to make it work... :-(
If I use different input, a bit smaller, which I can compile, the resulting binary is rather small, less than 7MB.
Regards
Dušan
_______________________________________________ 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.