Commit Graph
13 Commits
Author SHA1 Message Date
TD-er 06e458ea04 [Controller] Fail gracefully when almost out of memory
One often reported issue is that the ESPEasy node (especially ESP8266 ones) will crash when WiFi is unstable.

This could be due to memory suddenly filling up by the controller queue.
When creating a new item for the controller queue, there was no `(std::nothrow)` included on the `new` calls, so if running out of memory this might have thrown a `std::bad_alloc` exception, which are not caught and thus ESPEasy might crash on it.
2024-05-23 15:20:14 +02:00
Ton Huisman 799b3f3aaf [Build] Reduce code size (avoid String(F("...")) conversions and concatenations) 2024-01-24 23:22:19 +01:00
TD-er 71630ba87b [Cleanup] Remove no longer needed globals/Protocol.h/.cpp 2023-09-15 18:13:15 +02:00
TD-er 922ad76e5e [Controller] Simplify ESPEasy core administration of CPlugins 2023-09-15 17:09:09 +02:00
TD-er 9c07393225 [Scheduler] Cleanup of Scheduler code 2023-09-12 12:29:51 +02:00
Ton Huisman 92e3287822 [Config] Rename getUnitname() to getName() to avoid confusion, fix error that was introduced 2023-01-27 20:21:56 +01:00
Ton Huisman 509e03be16 [Config] Replace Settings.Name by Settings.getUnitname() 2023-01-26 23:34:14 +01:00
TD-er 30ec3a6c2e [Controller Queue] Do not format message when controller queue is full 2023-01-18 12:03:02 +01:00
TD-er 6bc0cc5fcf [Controller] Fix queue element vase class members being set 2023-01-04 13:56:55 +01:00
TD-er d038ce2e15 [Controllers] Reduce bin size by getting rid of extensive macros 2023-01-01 21:11:08 +01:00
TD-er 8fe63e47fd [Controller Queue] Reduce bin size by using inheritance 2022-12-31 01:15:47 +01:00
TD-er e6c4d31748 [ESP32] Add cache for ExtraTaskSettings due to load speed on ESP32 2022-07-14 19:55:45 +02:00
TD-er 1cfd75d6bf [INO to CPP] Rename Cnnn.ino to Cnnn.cpp
This way we know for sure the Arduino typical build issues will be affecting building controllers.
2022-01-31 11:01:41 +01:00