Replies: 1 comment 16 replies
-
Could you provide your complete config yaml? The exception is called "OOM" (out of memory). Every strategy to reduce the used memory should improve the situation. Which ESPHome version do you use? |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
After compiling the esp8266-example.yaml and installing with ESPHome the D1mini constantly crashes, 10 times in a row until it goes into safe boot mode.
If I remove about half of the sensors from the code it seems to be more stable.
Is there any reasons for this and what can I do to have more sensors?
Thanks for any words of wisdom!
Log with crash debug:
[I][wifi:505]: WiFi Connected!
[C][wifi:353]: Local MAC: [redacted]
[C][wifi:354]: SSID: [redacted]
[C][wifi:355]: IP Address: [redacted]
[C][wifi:356]: BSSID: [redacted]
[C][wifi:358]: Hostname: 'test'
[C][wifi:360]: Signal strength: -49 dB ▂▄▆█
[C][wifi:364]: Channel: 11
[C][wifi:365]: Subnet: 255.255.255.0
[C][wifi:366]: Gateway: [redacted]
[C][wifi:367]: DNS1: [redacted]
[C][wifi:368]: DNS2: 0.0.0.0
[D][wifi:514]: Disabling AP...
[C][ota:085]: Over-The-Air Updates:
[C][ota:086]: Address: jk-bms.local:8266
[C][ota:089]: Using Password.
[W][ota:094]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:025]: Setting up Home Assistant API server...
[C][mqtt:029]: Setting up MQTT...
[I][mqtt:176]: Connecting to MQTT...
[I][mqtt:216]: MQTT Connected!
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Unhandled C++ exception: OOM
ctx: cont
sp: 3ffffbe0 end: 3fffffc0 offset: 0000
3ffffbe0: 3fffb90c 3fffb93c 3ffffd18 40245348
3ffffbf0: 000000fe 00000000 00000000 00000000
3ffffc00: 00000000 00000000 00000000 00000001
3ffffc10: 00007fff 00000000 3ffe85f4 000000f0
3ffffc20: 00000001 40244a13 000001e1 40234f06
3ffffc30: 00000001 40244a13 00000020 40234f25
3ffffc40: 00000001 3fffb9cc 000001e1 40234570
3ffffc50: 3fff0072 000000f1 3ffffd40 40244a13
3ffffc60: 73505300 0000001f 3ffffd40 40244bf7
3ffffc70: 000001e0 3ffffd18 3ffffcf8 40244c32
3ffffc80: 00000000 000000f0 00000000 40101053
3ffffc90: 00000000 0000001e 00000000 00000061
3ffffca0: 000000f0 000000f1 3ffffd40 40244df4
3ffffcb0: 00000000 3fffb844 3ffffd58 3ffffde8
3ffffcc0: 00000000 3ffe9f1f 3ffffd58 4020f524
3ffffcd0: 3ffffd40 3fffb8a4 3ffffd58 4020f54a
3ffffce0: 3ffffd40 3fffb8a4 3ffffd58 4020f9ec
3ffffcf0: 3ffffd40 3fffb8c4 3ffffd58 4020f9fa
3ffffd00: 3ffffd40 00000000 3ffffd90 4020fb61
3ffffd10: 3ffffd18 00000000 3fffb7bc 3fffb872
3ffffd20: 3fffb874 3fffb944 3ffffd00 00000000
3ffffd30: 3fffb934 3fffb8c4 3ffe8520 40101053
3ffffd40: 3fffb9cc 000000f0 000000f0 6c635f76
3ffffd50: 223a2261 006c6f76 3ffffd40 000000f0
3ffffd60: 3ffffd30 3ffffdd0 00000001 3fff5004
3ffffd70: 3ffffd78 00000006 736e6573 00000001
3ffffd80: 00000000 3ffffdd0 3fff1e7c 4021553b
3ffffd90: 00000000 69737361 6e617473 40002f74
3ffffda0: 3ffffda8 00000004 74736574 40218600
3ffffdb0: 3fff9d9c 00000010 3ffffe00 00000000
3ffffdc0: 3fff1e7c 3fff50ac 3fff1fd8 40216247
3ffffdd0: 3fffb774 00000035 0000003c 402186a4
3ffffde0: 0000003c 00000015 3fff50ac 402186bc
3ffffdf0: 40238a44 40216958 3fff3d0c 4021704c
3ffffe00: 3fff50ac 6e75222c 00000000 00000102
3ffffe10: 3fff50ac 0000002b 3fff50ac 4021630a
3ffffe20: 3fff7174 3ffffe40 3fff02c8 40239050
3ffffe30: 3fff4f3c 0000002a 3fff02c8 4021e819
3ffffe40: 0000000e 0000000e 3fffaab4 3fff05b4
3ffffe50: 000000b0 00000034 0000000d 4021d7d6
3ffffe60: 3fff8a24 3fff0394 00000058 3fff05b4
3ffffe70: 3fff8a24 3fff0394 3fff02c8 402248ce
3ffffe80: 3fff1cc4 00000015 0000001e 00000000
3ffffe90: 00000000 00000000 00000000 00000000
3ffffea0: 3ffffea8 0000000c 31745734 626d7550
3ffffeb0: 345a3142 00000000 00000000 00000000
3ffffec0: 00000000 00000000 00000000 00000000
3ffffed0: 00000000 00000000 3ffffee0 00000006 <
3ffffee0: 2d4d5350 00004148 00000000 00000000
3ffffef0: 00000000 00000000 3fffff00 0000000c <
3fffff00: 6f747541 6974616d 31216e6f 00000000
3fffff10: 00000000 00000000 00000000 00000000
3fffff20: 00000000 00000000 00000000 00000000
3fffff30: 3fffff38 00000001 3a690073 656d6974
3fffff40: 7370616c 00650065 3fffff50 00000000 <
3fffff50: 6c666600 00656e69 feefeffe feefeffe
3fffff60: feef0100 feefeffe feefeffe feefeffe
3fffff70: 3fff88f4 3ffe96ff 3fff88f4 0001c200
3fffff80: 3fff88f4 feefeffe feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3fff08ec
3fffffa0: 3fffdad0 00000000 3fff08d8 40234a40
3fffffb0: feefeffe feefeffe 3ffe85f0 4010072d
<<<stack<<<
last failed alloc call: 40244A13(481)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
last failed alloc caller: 0x40244a13
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v000810a0
~ld
Beta Was this translation helpful? Give feedback.
All reactions