Skip to content

SIMD-0289: propose to reduce load data size limit to zero by default#289

Closed
tao-stones wants to merge 2 commits into
solana-foundation:mainfrom
tao-stones:default-loaded-accounts-data-size-to-zero
Closed

SIMD-0289: propose to reduce load data size limit to zero by default#289
tao-stones wants to merge 2 commits into
solana-foundation:mainfrom
tao-stones:default-loaded-accounts-data-size-to-zero

Conversation

@tao-stones
Copy link
Copy Markdown
Contributor

@tao-stones tao-stones commented May 28, 2025

This SIMD proposes setting the default value for loaded accounts data size to
zero bytes in the Solana runtime, replacing the current implicit default of
MAX_LOADED_ACCOUNTS_DATA_SIZE_BYTES (64MB).

@tao-stones tao-stones force-pushed the default-loaded-accounts-data-size-to-zero branch from b636ad5 to 050504d Compare May 28, 2025 18:41
@tao-stones tao-stones marked this pull request as ready for review May 28, 2025 18:42
@tao-stones tao-stones changed the title SIMD-0288: propose to reduce load data size limit to zero by default SIMD-0289: propose to reduce load data size limit to zero by default May 28, 2025
Comment on lines +62 to +65
3. Gradual Ramp-Down Strategy:
Implement a phased reduction toward zero. For example, decrease
`DEFAULT_LOADED_ACCOUNTS_DATA_SIZE_BYTES` by fixed increments (e.g., 8MB per
epoch). This gives developers time to adapt.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we specify the exact schedule for this? What increments over what time period?

@tao-stones
Copy link
Copy Markdown
Contributor Author

Similar to #172 , the default of loaded_accounts_data_size can be changed together in #296. Close this one for now.

@tao-stones tao-stones closed this Jun 20, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants