Swarm Memory Usage
Question: What happens if there is insufficient memory and what are the consequences? How does Swarm monitor memory usage?
Answer: A node uses memory in order to hold an index of the objects stored in it. If a node runs out of index space, it will stop storing new content until space is freed through deletions. However, a full node continues to respond to client read requests for data that is already on it.
Each anchor stream (included unnamed anchor streams and all named streams) requires two index slots.
If you are running out of index slots through normal activity, it is advised to increase the memory in the node.
Erasure coding typically requires more memory than replication; exactly how much depends on the encoding.
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.