ESP32-audioI2S icon indicating copy to clipboard operation
ESP32-audioI2S copied to clipboard

Memory limitation issues

Open hcsteen opened this issue 1 year ago • 2 comments

Excellent library! However I have an issue with memory allocation. I have made a simple internet radio using a small oled-display and SD-card for station lists/URL. It all works like a charm using http, but when I try to connect to a station using https, it will not work. The error message on the monitor is: "not enough memory to allocate mp3decoder buffers" The even more simple internet radio example supplied with the library works just fine with both http and https. Most likely I have used all available memory space with my programming. I've read the available documentation, but are unable to find much about memory allocation. Is it possible to tweek the memory to make room for my programming and https ?

hcsteen avatar Mar 24 '24 17:03 hcsteen

The decoders need storage space. This leaves less for your own project. If you activate PSRAM, this is automatically recognised and the memory is allocated to PSRAM.

schreibfaul1 avatar Mar 24 '24 18:03 schreibfaul1

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 24 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 09 '24 02:05 github-actions[bot]