Skip to content

Commit 52c1987

Browse files
committed
esp8266/general: Add "Scarcity of runtime resources" section.
With warnings of need to close files, sockets, etc.
1 parent 54ea10a commit 52c1987

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/esp8266/general.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@ For your convenience, some of technical specifications are provided below:
5858
and always-available BootROM bootloader, ESP8266 is not brickable.
5959

6060

61+
Scarcity of runtime resources
62+
-----------------------------
63+
64+
ESP8266 has very modest resources (first of all, RAM memory). So, please
65+
avoid allocating too big container objects (lists, dictionaries) and
66+
buffers. There is also no full-fledged OS to keep track of resources
67+
and automatically clean them up, so that's the task of a user/user
68+
application: please be sure to close open files, sockets, etc. as soon
69+
as possible after use.
70+
71+
6172
Boot process
6273
------------
6374

0 commit comments

Comments
 (0)