-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about memory usage of the binary zephyr.exe #33609
Comments
|
Thank @aescolar for the answer. Regarding your answer, when I want to build my hello_world program to another board NOT posix arch (e.g. nrf52 DK), then I can use |
yes, you just need to build for the actual target you will use |
It is clear to me now. Many thanks to @aescolar and @carlescufi. I close the issue. |
I'm new with Zephyr OS, so my question is very basic. I built a hello_world program for the native_posix board. I want to know the RAM usage of my program, then I tried to use the two following approaches:
(1) Running
$ west build -t ram_report
as presented in here. The result is 5242 B (~5 KB).(2) Running
$ west build -t run
, then uses the ps tool to check the RSS (physical memory consuming) with the command$ ps aux | grep zephyr.exe
. The result is 1104 KB (~1.1 MB).How should I understand these two results. Thank you in advance.
The text was updated successfully, but these errors were encountered: