bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 643 forks source link

The memory required for the program to run is too large to run #2601

Closed YuXiaoCoder closed 2 years ago

YuXiaoCoder commented 2 years ago

Bug Description I ran the following command, but the memory required by the program exceeded 48G, which was eventually killed /mnt/core/witness_node --data-dir=/mnt/node --rpc-endpoint=0.0.0.0:20144 --partial-operations=true --max-ops-per-account=100

Impacts Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.

Steps To Reproduce /mnt/core/witness_node --data-dir=/mnt/node --rpc-endpoint=0.0.0.0:20144 --partial-operations=true --max-ops-per-account=100 https://github.com/bitshares/bitshares-core#run-the-node-software https://github.com/bitshares/bitshares-core#run-the-node-software

Expected Behavior It was working fine and syncing blocks until yesterday, but today it suddenly needs a lot of memory, I hope it works fine and syncs blocks

Screenshots (optional)

image

Host Environment Please provide details about the host environment. Much of this information can be found running: witness_node --version.

abitmore commented 2 years ago

The OOM issue was due to a bug. It has been fixed in the new release. All nodes please update: https://github.com/bitshares/bitshares-core/releases/tag/6.0.2