Memory Report

The memory report is split into three sections: Total, RAM, and ROM. The RAM report includes all writeable data: variables, stacks, and heaps. It does not include code. The ROM report includes all symbols that can be part of a ROM image: code and statically initialized data. The total memory report shows the total memory used, helpful for optimizing the total RAM requirement when ROM is not used. Note that the sum of the RAM and ROM reports may not equal the size in the total report since statically initialized variables can appear in both RAM and ROM reports (but only count once for the total). The (hidden) size is memory allocated in an elf section but not associated with any symbol.
Path Size
Top Ten Symbols by Size
Symbol Size
kernel/mempool.c/kheap__system_heap RAM 4.1 KB 1.53%
subsys/shell/backends/shell_uart.c/shell_uart_stack RAM 2 KB 0.75%
kernel/init.c/z_interrupt_stacks RAM 2 KB 0.75%
kernel/init.c/z_main_stack RAM 2 KB 0.75%
:/__l_vfprintf ROM 1.7 KB 0.65%
subsys/shell/shell.c/state_collect ROM 1.7 KB 0.64%
subsys/portability/posix/c_lib_ext/fnmatch.c/fnmatchx ROM 1.5 KB 0.55%
/home/frank/work/zpro/zephyrproject/modules/hal/espressif/components/esp_hw_support/port/esp32c3/rtc_init.c/rtc_init ROM 1.2 KB 0.45%
lib/os/cbprintf_packaged.c/cbprintf_package_convert ROM 1.1 KB 0.42%
lib/os/cbprintf_packaged.c/cbvprintf_package ROM 1 KB 0.38%
Path Size
Path Size