Issue with Storage of Large Data
Keeping a large list of accounts, or any other array of data, is impractical, expensive, and has limitations. Solana limits data account size to 5MB, so storing an unlimited number of account addresses in a list is not possible. Additionally, during processing of this data, every computational operation incurs a cost, meaning that processing of a large number of items would have a high transaction cost. Finally, Solana program executions have limits on the number of allowed computational operations, and if exceed the program function execution will fail.
Last updated