Proposal: Increase maximum item size in Storage sync quotas
There is already a discussions on increasing the "Maximum total size" from 100KB to 1MB in Discuss limits applied to storage.local and storage.sync API.
This proposal concentrates on the "Maximum item size", as also mentioned in #351 (comment).
Storage quotas for sync data
- Maximum total size 102,400 bytes (100KB)
- Maximum item size 8,192 bytes (8KB)
- Maximum number of items 512
Test Case
Syncing the following example would be within the "Maximum total size" allowed, however it fails due to the "Maximum item size".
The options are:
- Giving up on storage sync
- Breaking the large value into smaller values and recompile the data at the sync target
(which adds undesired complexity to the operation and onChanged event)
{
"a": "... 1kb data ...",
"b": "... 1kb data ...",
"c": "... 50kb data ..."
}
Proposal
Increase the "Maximum item size" to the maximum possible under the "Maximum total size"
See also
Proposal: Increase maximum item size in Storage sync quotas
There is already a discussions on increasing the "Maximum total size" from 100KB to 1MB in Discuss limits applied to storage.local and storage.sync API.
This proposal concentrates on the "Maximum item size", as also mentioned in #351 (comment).
Storage quotas for sync data
Test Case
Syncing the following example would be within the "Maximum total size" allowed, however it fails due to the "Maximum item size".
The options are:
(which adds undesired complexity to the operation and
onChangedevent){ "a": "... 1kb data ...", "b": "... 1kb data ...", "c": "... 50kb data ..." }Proposal
Increase the "Maximum item size" to the maximum possible under the "Maximum total size"
See also