memory usage - Printable Version +- EmBitz (https://www.embitz.org/forum) +-- Forum: IDE (https://www.embitz.org/forum/forum-1.html) +--- Forum: Using EmBitz (https://www.embitz.org/forum/forum-2.html) +--- Thread: memory usage (/thread-124.html) |
memory usage - Alex - 07-06-2022 Hi, Probably a very simple question... Where can I see memory usage (Flash, Ram) after compiling ? From previous IDE's I could see it in map file if I remember well. Thank you ! RE: memory usage - Alex - 07-06-2022 P.S.: still running v1.1, as I prefer not to update while running project RE: memory usage - embitz - 09-06-2022 You can find that in the "Build messages" log. You can also click at the map file to open it (see highlighted part in picture) RE: memory usage - Alex - 09-06-2022 Thank you for your prompt reply ! Sorry, I was some confused... On my install, Build log is providing the information: " Used memory resources: text data bss dec hex 64372 1088 2140 67600 10810 " somewhere in the middle of the log file, whereas "build message" only displays ||=== Build finished: 0 errors, 10 warnings (1 minutes, 44 seconds) ===| RE: memory usage - PDonchev - 11-06-2022 Probably you are using a generic (external) GCC Compiler. RE: memory usage - dalbert - 25-05-2023 (09-06-2022, 07:59 AM)embitz Wrote: You can find that in the "Build messages" log. I think what they are asking is if you could show RO memory usage (.text+.extab+.exidx+.data) separately in the same way you show RW memory (.data + .bss). I know it's not perfect, but it would give users a feel for how close they are to running out of flash/ram with each build. RE: memory usage - embitz - 26-05-2023 Ah I see, but the problem is that those memory segments are linker script specific. Although is almost defacto standard they may have, and can have, other names etc. RE: memory usage - Operton - 31-05-2023 I use this linker flag to print out the memory usage of my STM32H7 project: -Wl,--print-memory-usage The output looks like this (in the Build log window): Code: Memory region Used Size Region Size %age Used |