This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory allocation

Hello all,

I am new to developing code for ARM based processors under the Keil environment and as such finding my way around the IDE.

Can someone clarify how to accurately establish the following:

a) The size of a built application. I suspect this has something to do with rw-data,ro-data and zi-data but I need clarification on what each is.

b) How much memory that application is using when running (if possible).

Regards

Barry

Parents
  • The last few lines in the .map files will show the "Total ROM Size (Code + RO Data + RW Data) and the "Total RW Size (RW Data + ZI Data). However, if you are using dynamic memory allocation (malloc) then this figure includes the Heap space but not how much of it you are using as this dynamically changes at runtime.

Reply
  • The last few lines in the .map files will show the "Total ROM Size (Code + RO Data + RW Data) and the "Total RW Size (RW Data + ZI Data). However, if you are using dynamic memory allocation (malloc) then this figure includes the Heap space but not how much of it you are using as this dynamically changes at runtime.

Children
No data