spillThresholdBytes property

int spillThresholdBytes
final

Values larger than this go to file storage, leaving a pointer behind.

Preference stores are built for small values — they load wholesale into memory, and browsers cap an origin at a few megabytes. Workspace state is bytes; a rich-text draft is not.

Implementation

final int spillThresholdBytes;