Sysprogs forums › Forums › VisualGDB › Memory utilization report
- This topic has 9 replies, 2 voices, and was last updated 1 week, 4 days ago by
support.
-
AuthorPosts
-
November 4, 2025 at 00:31 #36952
mattia
ParticipantHello,
I’m using an ESP32-S3 with 8 MB flash. When I compile, I get this report:
——————- Memory utilization report ——————-
Used DATA_FLASH: 3441KB out of 60MB (5%) [+288]
Used INSTR_FLASH: 1083KB out of 128MB (0%) [+796]
Used INSTR_RAM: 107KB out of 296KB (36%)
Used DATA_RAM: 186KB out of 296KB (63%) [+544]
Used Unknown: 13KBWhy such these data? I don’t have neither 60MB, nor 128 MB of Data or instrument flash. I also don’t have 296KB of INSTR_RAM or DATA_RAM. Why those data are so wrong? Can I correct them?
Thanks,
Mattia
November 4, 2025 at 08:07 #36954support
KeymasterIt looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey
November 5, 2025 at 01:05 #36956mattia
ParticipantI have just renewed.
November 7, 2025 at 09:35 #36959support
KeymasterHi,
Thanks for renewing.
For ESP-IDF, the memory layout is taken from the [toolchain directory]\esp32-bsp\bsp.xml file (for old-style toolchains) and from %VISUALGDB_DIR%\Rules\espidf.xml (consolidated toolchain), that was derived from the default linker scripts supplied by Espressif.
You can edit the memory addresses and sizes by changing the MCUMemory elements (make sure you change it for the correct device).
February 9, 2026 at 23:58 #37104mattia
ParticipantThanks,
and in the STM32CubeMx project? I see that Memory utilization report is correctly displayed, but the flash is displayed as KB instead of B as I would prefer.
Thanks,
Mattia Berton
February 10, 2026 at 07:40 #37106support
KeymasterHi,
It should not be dependent on the project type. The size is always displayed in bytes for very small values, and then gets rounded to KB.
July 8, 2026 at 09:16 #37302mattia
ParticipantI have just upgraded to IDF 6.0.2, but now I have wrong value set:
——————- Memory utilization report ——————-
Used DATA_FLASH: 0 bytes out of 189KB (0%)
Used INSTR_FLASH: 92KB out of 3264KB (2%)
Used DATA_RAM: 0 bytes out of 176KB (0%)
Used INSTR_RAM: 0 bytes out of 128KB (0%)
Used EXTERN_RAM: 0 bytes out of 4096KB (0%)
Used RTC_DATA: 0 bytes out of 8192 bytes (0%)
Used RTC_IRAM: 0 bytes out of 8192 bytes (0%)
Used RTC_SLOW: 36 bytes out of 8168 bytes (0%)
Used Unknown: 4951KBWhy? All is in Unknown area.
July 9, 2026 at 20:08 #37305support
KeymasterHi,
We have rechecked it with the ESP-IDF 6.0.2 (default settings, default ESP32 device) and it worked just fine:
------------------- Memory utilization report ------------------- Used DATA_FLASH: 27KB out of 4096KB (0%) Used INSTR_FLASH: 45KB out of 3264KB (1%) Used DATA_RAM: 12KB out of 176KB (6%) Used INSTR_RAM: 41KB out of 128KB (32%) Used EXTERN_RAM: 0 bytes out of 4096KB (0%) Used RTC_DATA: 0 bytes out of 8192 bytes (0%) Used RTC_IRAM: 0 bytes out of 8192 bytes (0%) Used RTC_SLOW: 40 bytes out of 8168 bytes (0%) Used Unknown: 24 bytes
It could be something about that particular project that is causing the issue. Please consider reproducing it on a clean project created from scratch.
July 9, 2026 at 23:53 #37306mattia
ParticipantCan you please share your ESPIDF.xml?
July 10, 2026 at 20:12 #37307 -
AuthorPosts
- You must be logged in to reply to this topic.