This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Build project on Segger Embedded Studio always show more than 100% Ram usage

Hi. I have a problem with Segger Embedded Studio. I always get more than 100% of RAM usage when building project on SES, even if examples projects from SDK . Anyone know what is the problem? I did not have any change on project configuration. I am using SES 5.34 64bit Window.

Parents Reply
  • Sorry, I overlooked the fact that you experienced the same with other SDK examples as well. I assumed it only happened with your project at first, which is why I thought it had to be some project specific settings that were wrong.

    Anyway. I was able to reproduce this now after updating from SES v5.32a to v5.34, and it appears to be caused by a bug in the "memory usage" viewer.

    Notice how the stack_process section is shown to use 64K of RAM while it's actually zero bytes as shown in the *.map file:

    A simple workaround I found for this was to place the .stack_process before the .stack section in the flash_placement.xml as shown below.

Children
Related