From 52c19875a4e9a95920e844b83a104997639bba2f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky <pfalcon@users.sourceforge.net> Date: Wed, 4 Jan 2017 10:15:03 +0300 Subject: [PATCH] esp8266/general: Add "Scarcity of runtime resources" section. With warnings of need to close files, sockets, etc. --- docs/esp8266/general.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst index 04afed46e..cd659f80a 100644 --- a/docs/esp8266/general.rst +++ b/docs/esp8266/general.rst @@ -58,6 +58,17 @@ For your convenience, some of technical specifications are provided below: and always-available BootROM bootloader, ESP8266 is not brickable. +Scarcity of runtime resources +----------------------------- + +ESP8266 has very modest resources (first of all, RAM memory). So, please +avoid allocating too big container objects (lists, dictionaries) and +buffers. There is also no full-fledged OS to keep track of resources +and automatically clean them up, so that's the task of a user/user +application: please be sure to close open files, sockets, etc. as soon +as possible after use. + + Boot process ------------ -- GitLab