Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory when building Agda 2.6.1 (and 2.6.2 on GHC 8.2) #80

Open
andreasabel opened this issue Nov 19, 2021 · 0 comments
Open

Out of memory when building Agda 2.6.1 (and 2.6.2 on GHC 8.2) #80

andreasabel opened this issue Nov 19, 2021 · 0 comments

Comments

@andreasabel
Copy link

GHC runs out of memory when trying to build recent versions of Agda.
Screenshot 2021-11-19 at 12 59 59

E.g. https://matrix.hackage.haskell.org/#/package/Agda/2.6.2/ghc-8.2.2@1624083463 :

[363 of 397] Compiling Agda.TypeChecking.Serialise.Instances.Errors ( src/full/Agda/TypeChecking/Serialise/Instances/Errors.hs, /tmp/matrix-worker/1624117815/dist-newstyle/build/x86_64-linux/ghc-8.2.2/Agda-2.6.2/build/Agda/TypeChecking/Serialise/Instances/Errors.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.2.2 for x86_64-unknown-linux):
	heap overflow

<<ghc: 766726270256 bytes, 8724 GCs, 845318303/1804397512 avg/max bytes residency (73 samples), 1878M in use, 0.001 INIT (0.001 elapsed), 688.636 MUT (723.531 elapsed), 371.899 GC (371.043 elapsed) :ghc>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant