I’m doing Continuous speech recognition on ESP32 for my project. Edge impulse code is using more heap memory. I get around 66KB free when run the the code. I am also playing music through bluetooth. I am not able to do both speech recognition and music streaming together. My ESP32 crashes and bluetooth disconnects frequently.
I thought there could be issue with bluetooth library but it works fine TFLite speech rocognition code. So there is issue with edge impulse library.
Is there any way to reduce heap usage?