How much memory my application uses?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How much memory my application uses?

2,195 Views
kcg
Contributor I

Hello

I'm starting to work with the software 'Kinetis Design Studio'. I create a project MQX.

How can i view the memory usage of my application?

thanks for the help

0 Kudos
9 Replies

1,058 Views
ronen333
Contributor I

Hi,

Use the build option in the Quickstart Panel.

0 Kudos

1,058 Views
davidsherman
Senior Contributor I

ROM, or RAM?  When it builds, the last thing in the console window should report the sizes of the text, data, and bss sections like this:

text   data    bss    dec    hex    filename

91664  25980  10056  127700 1f2d4 project.elf

'Finished building: project.siz'

  You can also look at the .map file that is generated to  find more specific information about what was included, what was optimized away, and how much memory is being used.

0 Kudos

1,058 Views
kcg
Contributor I

Hola David

In my console windows, not appear this information and I have checked the box 'Print size'.Why?

img1.png

thanks

0 Kudos

1,058 Views
davidsherman
Senior Contributor I

What version of Kinetis Design Studio are you using?  I have 1.1.1 and it reports this automatically.  Did it build successfully?  What does it say in the console window?

0 Kudos

1,058 Views
kcg
Contributor I

    I'm using Kinetis Design Studio v1.1.1 and my project is compile without errors.

img1.png

0 Kudos

1,058 Views
BlackNight
NXP Employee
NXP Employee

Hi Kevin,

you show the options for the project timer_frdm64f, while your console output is for lwsem_frm64kf?

Can you check the settings of the lwsem_frdm64kf project?

Erich

0 Kudos

1,058 Views
kcg
Contributor I

Hello Erich

Sorry i was trying different projects and I'm wrong. The same goes for this project.

img1.png

Thanks

0 Kudos

1,058 Views
BlackNight
NXP Employee
NXP Employee

Hi Kevin,

can you check if you have per-file or per-folder options set in your project?

See Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse

This might cause a failure to call the post-build step (to print the size).

Erich

0 Kudos

1,058 Views
kcg
Contributor I

Hi Erich

Any folder has icons on it, just some files MQX indicating that it is a link to its location on the MQX diirectorio.

img1.png         img2.png

thanks

0 Kudos