2

My hard drive is full when running solana-test-validator. I run it on wsl2 on window. Has anyone had this problem and how to fix it? Thanks

1 Answer 1

1

You can use the --limit-ledger-size argument to solana-test-validator. Here's the help text:

        --limit-ledger-size <SHRED_COUNT>
            Keep this amount of shreds in root slots. [default: 10000]

Shreds are roughly 1kb, so the default should use up to ~10MB. Otherwise, the account data itself will also take up space, so be sure to avoid using too many large accounts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.