pub const MAX_ACCOUNTS_DATA_LEN: u64 = 128_000_000_000;
Expand description

The maximum allowed size, in bytes, of the accounts data 128 GB was chosen because it is the RAM amount listed under Hardware Recommendations on Validator Requirements, and validators often put the ledger on a RAM disk (i.e. tmpfs).