-->
Page 1 of 1

Out of memory debugging

PostPosted: Fri Mar 31, 2023 12:14 pm
by ArjenV
Dear forum.

Got a program in my ESP8266 with a webserver with a lot of javascript.
It crashes when I try to load a file from Littlefs. This may not be the cause, however, I am getting a Out Of Memory OOM.
So I selected the debugging option in the IDE 'OOM'. I did, however, not find any documentation on how to interpret the debugging messages.

oom(32)@WString.cpp:195
oom(32)@abi.cpp:40

What does it mean?

Re: Out of memory debugging

PostPosted: Sat Apr 01, 2023 9:17 pm
by rooppoorali
These messages suggest that the OOM error occurred while trying to allocate memory for either a string or a function call. It's possible that the error is related to the file you are trying to load from Littlefs, but it could also be caused by other factors such as a memory leak or insufficient memory available for your program.