Memory usage

56 views
asked Aug 2 in Embedded Wizard Studio by Mike_PPsys
Hi Gents,

 Is there any method to get an idea of what is using up flash and stack/heap space within a project? I'm just starting out on a project and would like to know where resource hogs and inefficienies might be in what we cook up.

Thank you,

 Mike Spenard
 PP Systems

1 Answer

0 votes
answered Aug 3 by Paul Banach

Hello Mike,

the typical approach in such case is:

- analyze the linker MAP file in order to get the flash size needed for the application. In the MAP file you see also the allocation for stack and static/global variables.

- To get the RAM usage (heap) use the function EwPrintProfilerStatistic().This function should usually be called at the end of each loop in the GUI main function.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...