Skip to content

Latest commit

 

History

History
95 lines (78 loc) · 2.77 KB

memory.md

File metadata and controls

95 lines (78 loc) · 2.77 KB

Memory requirements on ESP32:

Examples using e02 esp32

WiFi

memory: 91216 (19,952 - but includes startup, etc.) stack: 1664 out of 15360 GC: total: 111168, used: 19952, free: 91216 No. of 1-blocks: 290, 2-blocks: 64, max blk sz: 122, max free sz: 5230

MQTT

memory: 81232 (9,984) stack: 1664 out of 15360 GC: total: 111168, used: 29936, free: 81232 No. of 1-blocks: 393, 2-blocks: 89, max blk sz: 122, max free sz: 4108

I2C0

memory: 80176 (1,056) stack: 1664 out of 15360 GC: total: 111168, used: 30992, free: 80176 No. of 1-blocks: 412, 2-blocks: 94, max blk sz: 122, max free sz: 4105

I2C1

memory: 79984 (192) stack: 1664 out of 15360 GC: total: 111168, used: 31184, free: 79984 No. of 1-blocks: 419, 2-blocks: 96, max blk sz: 122, max free sz: 4078

Mem Use

memory: 76928 (3,056) stack: 1632 out of 15360 GC: total: 111168, used: 34240, free: 76928 No. of 1-blocks: 505, 2-blocks: 103, max blk sz: 122, max free sz: 4056

OLED

memory: 58672 (18,166) stack: 1664 out of 15360 GC: total: 111168, used: 52496, free: 58672 No. of 1-blocks: 702, 2-blocks: 144, max blk sz: 142, max free sz: 2409

Gyro

memory: 48832 (9,930) stack: 1664 out of 15360 GC: total: 111168, used: 62336, free: 48832 No. of 1-blocks: 872, 2-blocks: 169, max blk sz: 142, max free sz: 1722

Log

memory: 47808 (1,024) stack: 1664 out of 15360 GC: total: 111168, used: 63360, free: 47808 No. of 1-blocks: 900, 2-blocks: 172, max blk sz: 142, max free sz: 1751

DHT (temp)

memory: 45088 (2,720) stack: 1664 out of 15360 GC: total: 111168, used: 66080, free: 45088 No. of 1-blocks: 970, 2-blocks: 179, max blk sz: 142, max free sz: 1729

Menu

memory: 32832 (12,256) stack: 1664 out of 15360 GC: total: 111168, used: 78336, free: 32832 No. of 1-blocks: 1232, 2-blocks: 201, max blk sz: 282, max free sz: 1436

Display DHT (svc_pipe)

memory: 30640 (2,192) stack: 1664 out of 15360 GC: total: 111168, used: 80528, free: 30640 No. of 1-blocks: 1282, 2-blocks: 207, max blk sz: 282, max free sz:

Soil

memory: 27536 (3,104) stack: 1664 out of 15360 GC: total: 111168, used: 83632, free: 27536 No. of 1-blocks: 1346, 2-blocks: 216, max blk sz: 282, max free sz: 1242

Display Soil

memory: 26000 (1,536) stack: 1664 out of 15360 GC: total: 111168, used: 85168, free: 26000 No. of 1-blocks: 1393, 2-blocks: 222, max blk sz: 282, max free sz: 1095

NOTE some slight changes had been made

Git Restart

memory: 23424 (2,576) stack: 1664 out of 15360 GC: total: 111168, used: 87744, free: 23424 No. of 1-blocks: 1459, 2-blocks: 230, max blk sz: 282, max free sz: 875

Reset (general reset)

memory: 22096 (1,328) stack: 1664 out of 15360 GC: total: 111168, used: 89280, free: 21888 No. of 1-blocks: 1498, 2-blocks: 237, max blk sz: 282, max free sz: 747