summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-04 10:15:03 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-04 10:33:48 +0300
commit52c19875a4e9a95920e844b83a104997639bba2f (patch)
tree6c8263c8a3b47b60d1180ca3a2ba0ba09300ae8d
parent54ea10a76ae0b5406a558a87c346224f57500cfb (diff)
downloadmicropython-52c19875a4e9a95920e844b83a104997639bba2f.tar.gz
micropython-52c19875a4e9a95920e844b83a104997639bba2f.zip
esp8266/general: Add "Scarcity of runtime resources" section.
With warnings of need to close files, sockets, etc.
-rw-r--r--docs/esp8266/general.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/esp8266/general.rst b/docs/esp8266/general.rst
index 04afed46ed..cd659f80a9 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
------------