Use PSRAM for impulse deployment on ESP32-S3

Hi @georgie

You need to update this variable in the model_variables.h file of your arduino library (the downloaded zip):

i.e. add this line with the size for your given hardware:

#define EI_CLASSIFIER_TFLITE_ARENA_SIZE  (200 * 1024) // Increase to 200KB

Hi i have same memory problem with my ESP32-S3-EYE board it got 8 MB PSRAM. I use ESP-IDF. I enabled PSRAM and set #define EI_CLASSIFIER_TFLITE_LARGEST_ARENA_SIZE (500 * 1024) in model_metadata.h and still i got this error ERR: Failed to allocate persistent buffer of size 192, does not fit in tensor arena and reached EI_MAX_OVERFLOW_BUFFER_COUNT Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.. Can someone help?

1 Like

add delay at the end of the loop .

Me too! Have you solved this issue?

try to lower the parameters of your processing blocks.
try to get around 52920 raw samples from there you can increase it little by little to see how much your board can take