Ghc: internal error: Unable to commit 1048576 bytes of memory

Hello everyone,

im trying to setup a stakepool on AWS (as per stake pool course).
When building the node and running this

cabal build all
i am getting this error:
ghc: internal error: Unable to commit 1048576 bytes of memory

Does anyone know how to resolve this ?

How much memory does your instance have? I would consider 8Gig a minimum for actually building the node from source.

Hi Erik,

it looks like I selected a wrong instance type (Carlos is using 4 Gib, and I selected 1).
I will try 8 just to be sure.
Thanks for your help!