Failed to allocate TFLite Arena


I’m getting the failed to allocate arena error.

I’ve tried the tips in these posts, and they don’t seem to fix it. What should I try doing?

Project ID:

Context/Use case:
I’m attempting to do object classification on an Arduino Nano 33 BLE Sense with the OV7675 camera. I’m using MobileNet .35 and 78x78 images. I’m downloading the quantized model which says 174 K RAM and 75K flash. This should fit on the Arduino right?

Also, I’m a student at UPenn, and this is for a class final project due tomorrow. Still haven’t learned not to procrastinate.

Any help is much appreciated!

Figured it out. Wahoo. Shrunk the image size down to 50 by 50.


Anyway, glad that you figured it out.
For the 174K RAM, it is an estimation and keep in mind that the board is also using some RAM for other purposes. Here’s a tutorial that might interest you: Tracking memory usage with Mbed OS | Mbed