Logging sensor data often on ESP32: buffer in RTC RAM, write flash in batchesrecommendation · unverified · Writing every reading to flash wears it out and costs energy. Keep readings in RTC slow memory across deep sleep, flush them in batches, use NVS only for rarely changing settings, and leave headroom in SPIFFS.