Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Leak with Room demo + Arduino core 2.2.0 #175

@proppy

Description

@proppy

@mattetti reported a leak while running the Room with the Arduino core 2.2.0:

Added to loop() of https://github.com/googlesamples/firebase-arduino/tree/master/examples/FirebaseRoom_ESP8266

Serial.print("heap: ");
Serial.println(ESP.getFreeHeap());

Serial log:

heap: 22296
heap: 22008
heap: 21792
heap: 21576
heap: 21360
heap: 21144
heap: 20928
heap: 20712
heap: 20496
heap: 20280
heap: 20064
heap: 19848
heap: 19632
heap: 19416
heap: 19200
heap: 18984
heap: 18768
heap: 18552
heap: 18336
heap: 18120
heap: 17904
heap: 17688
heap: 17472
heap: 17256
heap: 17040
heap: 16824
heap: 16608
heap: 16392
heap: 16176
heap: 15960
heap: 15744
heap: 15528
heap: 15312
heap: 15096
heap: 14880
heap: 14664
heap: 14448
heap: 14232
heap: 14016
heap: 13800
heap: 13584
heap: 13368
heap: 13152
heap: 12936
heap: 12720
heap: 12504
heap: 12288
heap: 12072
heap: 11856
heap: 11640
heap: 11424
heap: 11208
heap: 10992
heap: 10776
heap: 10560
heap: 10272
heap: 9664
heap: 9376
heap: 9160
heap: 8944
heap: 8728
heap: 8512
heap: 8296
heap: 8080
heap: 7864
heap: 7648
heap: 7432
heap: 7216
heap: 7000
heap: 6784
heap: 6568
heap: 6352
heap: 6136
heap: 5920
heap: 5632
heap: 5416
heap: 5200
heap: 4912
heap: 4696
heap: 4408
heap: 4192
heap: 3904
heap: 3688
heap: 3472
heap: 3256
heap: 3040
Soft WDT reset

I think this is due to esp8266/Arduino#1944 and fixed in https://github.com/esp8266/Arduino/releases/tag/2.3.0-rc1 we should probably update the README.md until 2.3 makes it to stable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions