4

what is the maximum size of a program that can be rented on solana. And can I rent more when needed ?

1 Answer 1

6

Solana accounts are currently limited to 10MB of storage. Generally, a compiled program binary should not come anywhere near this limit. For example, the [Openbook's executable binary is just under 469Kb. If an account your program uses is running out of space, you can use the realloc command to give it a larger memory allocation.

See also https://docs.solana.com/cli/usage#solana-rent

1

Your Answer

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

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