mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-29 19:30:57 +02:00
fix(mosq): Add a note about stack size
This commit is contained in:
@ -20,7 +20,7 @@ mosq_broker_run(&config);
|
|||||||
|
|
||||||
## Memory Footprint Considerations
|
## Memory Footprint Considerations
|
||||||
|
|
||||||
The broker primarily uses the heap for internal data, with minimal use of static/BSS memory. It consumes approximately 60 kB of program memory.
|
The broker primarily uses the heap for internal data, with minimal use of static/BSS memory. It consumes approximately 60 kB of program memory and minimum 5kB of stack size.
|
||||||
|
|
||||||
- **Initial Memory Usage**: ~2 kB of heap on startup
|
- **Initial Memory Usage**: ~2 kB of heap on startup
|
||||||
- **Per Client Memory Usage**: ~4 kB of heap for each connected client
|
- **Per Client Memory Usage**: ~4 kB of heap for each connected client
|
||||||
|
Reference in New Issue
Block a user