What are the limitations of settings/blocksettings

is there a maximum amount of storage able to be used, if so what is it?
and whats the maximum amount of data a single key can hold?

1 Like

Hi @technonux

The github page of the package mentions the following:

The size of storage is typically limited to 16 kilobytes. This applies in browser and in Arcade devices. Smaller MCUs may limit it further (eg., it’s 1k on SAMD21 devices).

pxt-common-packages/libs/settings at master · microsoft/pxt-common-packages (github.com)

1 Like

is it possible to check remaining storage?

I don’t think so, otherwise I would expect this function would need to be part of
settings.ts of this package.

Hi @technonux found the following link in my own notes when I prepared to use this extension for the first time:

Quick tutorial on the settings namespace - Arcade - Microsoft MakeCode

2 Likes

thanks!
im working on creating a filesystem using it with support for stuff like file headers and folders which is why i need all this info. for a bigger project