subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

node-subtensor memory leak when running lite-node on mainchain

Open baonq-me opened this issue 6 months ago • 4 comments

Describe the bug

Memory usage of node-subtensor is rising continuously.

To Reproduce

Start a lite node on the mainchain by following this instruction https://docs.bittensor.com/subtensor-nodes/using-source

commit 1332d077ea73bc7bf40f551c7f1adea3370df2bd (HEAD -> main, origin/main, origin/HEAD)
Merge: aec052a0 99253056
Author: Unconst <[email protected]>
Date:   Tue Jul 23 16:32:49 2024 -0500

    Merge pull request #657 from opentensor/rajkaramchedu-patch-1-1

    Update README.md

Expected behavior

Memory usage should keep around several GBs

Screenshots

CleanShot 2024-07-30 at 10 10 11@2x

CleanShot 2024-07-30 at 10 17 53@2x

Environment

Ubuntu 24.04, arm64 architecture, rustc 1.80.0

Additional context

CleanShot 2024-07-30 at 10 13 13@2x

subtensor-exporter.txt

baonq-me avatar Jul 30 '24 03:07 baonq-me