Unable to commit 1048576 bytes of memory

I have been running a BP node and a couple of relay nodes for a few weeks now and my BP node has recently started failing with the following error.

[ip-172-3:cardano.node.LeadershipCheck:Info:426] [2021-04-15 21:51:49.71 UTC] {“kind”:“TraceStartLeadershipCheck”,“chainDensity”:4.5947902e-2,“slot”:26957218,“delegMapSize”:438987,“utxoSize”:1876171,“credentials”:“Cardano”}
cardano-node: internal error: Unable to commit 1048576 bytes of memory
(GHC version 8.10.2 for x86_64_unknown_linux)
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Aborted

I am running a healthy sized BP node (AWS Linux 2 with 2 cores and 24GB memory). I tried creating a new BP node from scratch and it is having the same problems. Any suggestions? I’ve been down for a couple days now. I’ve rebooted the server several times and still run into the same problem. Sometimes the node will run for a little while first, but not for long. I even upgraded the original BP to 36 GB, but still keep running into the same issue.

Hi!

I think with 8GB of RAM you should be fine… how many relays connecting to your BP?
Try to use official precompiled version of cardano-node - so you dont need to build it at least:

also it was registered as bug on github - worth to mention your issue there as well: