Dušan Kolář schrieb:
> Dear all,
> Running cabal install --global wx stops very soon with the following
> 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: