Page 1 of 1

NVS Flash

Posted: Tue Dec 11, 2018 4:31 pm
by Adham Aboud
Hello guys,

I'm using the nvs component from esp_idf, and I've the following situation, first I write a mount of data to a specific "namespace"
, after this I update the content of this data with less count of bytes. Do I need to erase the data in the namespace, to free unneeded space ?
To be clear again, as I said before the new data that I'm going to write is less than the old data in the namespace. So I need to free up the delta...

Regards,

Re: NVS Flash

Posted: Wed Dec 12, 2018 3:09 am
by ESP_Sprite
No, you do not need to do anything. NVS takes care of space management and garbage collection all by itself.