
22 Feb
2010
22 Feb
'10
6:30 a.m.
Dušan Kolář schrieb:
Dear all,
Running cabal install --global wx stops very soon with the following error.
Building wxcore-0.12.1.2... [...] dist/build/Graphics/UI/WXCore/WxcClassesAL.o ) ghc: out of memory (requested 1048576 bytes) cabal: Error: some packages failed to install:
It seems quite strange as the machine seems to have 16GB RAM and a free swap, can I somehow put options or so? I have ghc 10.4. installed.
You may set the environment variable GHCRTS to allow more memory: export GHCRTS='-M3g' Type "ghc +RTS -?" to see more options" Cheers Christian