# Unable to commit 1048576 bytes of memory

**URL:** <https://forum.cardano.org/t/unable-to-commit-1048576-bytes-of-memory/57665>\
**Category:** Operate a Stake Pool\
**Created:** [15 April 2021 22:11 UTC](https://forum.cardano.org/t/unable-to-commit-1048576-bytes-of-memory/57665 "2021-04-15T22:11:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irvlatta](https://avatars.discourse-cdn.com/v4/letter/i/3ec8ea/32.png) [@irvlatta](https://forum.cardano.org/u/irvlatta)\
**Post date:** [15 April 2021 22:11 UTC](https://forum.cardano.org/t/unable-to-commit-1048576-bytes-of-memory/57665/1 "2021-04-15T22:11:32Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![laplasz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/laplasz/32/15238_2.png) [@laplasz](https://forum.cardano.org/u/laplasz)\
**Post date:** [16 April 2021 08:49 UTC](https://forum.cardano.org/t/unable-to-commit-1048576-bytes-of-memory/57665/2 "2021-04-16T08:49:15Z")

</div>

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:

> **[input-output-hk/cardano-node - Linux Executable](https://github.com/input-output-hk/cardano-node#linux-executable)**
>
> The core component that is used to participate in a Cardano decentralised blockchain.

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

> <https://github.com/input-output-hk/cardano-node/issues/2405>
>
> \*\*External\*\*
> 
> \*\*Other\*\*
> 
> \*\*Summary\*\*
> Querying the Ledger using cardano-cli …will result in memory commit error
> 
> \*\*Steps to reproduce\*\*
> Steps to reproduce the behavior:
> 1. Go to node running cardano-node
> 2. Run command 'cardano-cli query ledger-state --allegra-era --mainnet | grep '"publicKey": "f137e6702bb09babf88cc93c93dffd64379d5d43bdbe3ce870ff5c54"' -A 2' as user cardano with environment variables set properly
> 3. See error
> 
> \*\*Expected behavior\*\*
> Entries shown where the publicKey has been found.
> 
> \*\*System info (please complete the following information):\*\*
> \- OS: CentOS
> \- Version: 8
> \- Node version: 1.25.1
> 
> \*\*Screenshots and attachments\*\*
> !\[image\](https://user-images.githubusercontent.com/41171413/108927255-3a1e9780-7640-11eb-8dc5-210a89d6d2ef.png)
> 
> \- If applicable, add screenshots, config files and/or logs to help explain the problem.
> 
> \*\*Additional context\*\*
> Same happens if one tries to make a dump of the ledger in .json format, as used by slot leaders analyst apps
