Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By jeffpkamp
#89812 I have written a program that uses a web interface to interact with the ESP8266 (it's a wemos D1 mini). The longest char array I have is 6372 characters long.

When complied, these are the stats I get:
Code: Select allSketch uses 387140 bytes (37%) of program storage space. Maximum is 1044464 bytes.
Global variables use 37208 bytes (45%) of dynamic memory, leaving 44712 bytes for local variables. Maximum is 81920 bytes.


So I have lots of available dynamic memory.

My device crashes sporadically and at other times sends blanks for some of the webpage strings. I have it in debug mode for OOM as that appears to be where the errors are. However the output from the debug has been very cryptic. Previously it has given me good information as to what kind of OOM error it was, ie if a string was too big for the WChar or something like that, but these most recent errors just give me a number which I do not understand, and a ?. Below is the output from debug. I really would appreciate any help with this as well as pointers to understanding the OOM debug messages.



DEBUG MESSAGES:
Code: Select allno buf for action frame
no buf for action frame
no buf for action frame
no buf for action frame
:oom(644)@?
:oom(644)@?
:oom(644)@?
:oom(452)@?
:oom(452)@?
:oom(328)@?
:oom(452)@?
:oom(452)@?
:oom(232)@?
:oom(488)@?
:oom(428)@?
:oom(452)@?
:oom(232)@?
:oom(452)@?
:oom(72)@?
:oom(72)@?
:oom(60)@?
:oom(112)@?
:oom(84)@?
:oom(60)@?
:oom(84)@?
:oom(84)@?
:oom(60)@?
:oom(84)@?
:oom(232)@?
:oom(72)@?
:oom(40)@esf_buf.c:343
:oom(40)@esf_buf.c:343
:oom(84)@?
:oom(84)@?
:oom(452)@?
:oom(184)@?
:oom(328)@?
:oom(112)@?
:oom(184)@?
:oom(184)@?
:oom(104)@?
:oom(20)@:0
:oom(21)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(17)@:oom(?)@:oom(