ghc: internal error: Unable to commit 1048576 bytes of memory
I am trying to setup the Cardano node in Ubuntu Virtual box, I have run the following command, and it breaks with following error message:
Reference URL: https://developers.cardano.org/docs/get-started/installing-cardano-node
vagrant@vagrant:/cardano-node$ cabal --version
cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library
vagrant@vagrant:/cardano-node$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
Command: cabal build cardano-node cardano-cli [11 of 24] Compiling Data.Aeson.Types.FromJSON ( src/Data/Aeson/Types/FromJSON.hs, dist/build/Data/Aeson/Types/FromJSON.o, dist/build/Data/Aeson/Types/FromJSON.dyn_o ) ghc: internal error: Unable to commit 1048576 bytes of memory (GHC version 8.10.7 for x86_64_unknown_linux) Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug cabal: Failed to build aeson-1.5.6.0 (which is required by test:cardano-node-test from cardano-node-1.31.0, exe:cardano-node from cardano-node-1.31.0 and others). The build process terminated with exit code -6
Please suggest, how to resolve this issue.