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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe