This looks nice, but should I change something to get it working?
108KB/20KB doesn't feel right.
VS Code - Size Analysis
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
VS Code - Size Analysis
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
- ESP_Soumesh
- Posts: 19
- Joined: Tue Jul 09, 2019 2:21 pm
Re: VS Code - Size Analysis
Could you maybe post the output for
Code: Select all
$ python $IDF_PATH/tools/idf_size.py build/{app_name}.map --json
Also please provide your OS, IDF Version, VSCode Version and VSCode Extension Version (can be found in the installed extension page)app_name is your app name here
- gunar.kroeger
- Posts: 143
- Joined: Fri Jul 27, 2018 6:48 pm
Re: VS Code - Size Analysis
I'm on windows 10, IDF 4.0, Extension version 0.2.1, vscode 1.45.0.
This happens to everyone on different PCs with the same big project we are working on.
Trying out different projects gives different results for the maximum DRAM and IRAM available, which makes no sense to me.
I'm compiling for the esp32-pico
This happens to everyone on different PCs with the same big project we are working on.
Trying out different projects gives different results for the maximum DRAM and IRAM available, which makes no sense to me.
I'm compiling for the esp32-pico
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."
- ESP_Soumesh
- Posts: 19
- Joined: Tue Jul 09, 2019 2:21 pm
Re: VS Code - Size Analysis
As you can see in the Json Data you've posted ... there are some issue
available_iram: 13439
used_iram: 117633
Which is causing this issue... Will discuss this further with colleagues from IDF and see why this issue is happening?
available_iram: 13439
used_iram: 117633
Which is causing this issue... Will discuss this further with colleagues from IDF and see why this issue is happening?
- ESP_Roland
- Posts: 261
- Joined: Tue Oct 09, 2018 10:28 am
Re: VS Code - Size Analysis
Hi gunar.kroeger,
is it possible to share with us your MAP file? Note that it might contain sensitive information if it is a commercial project with closed source. In that case are you able to reproduce the issue with some other project (eg. IDF example)?
Do you get the same values with idf_size.py from the IDF master branch? (can be tested in console and no need to rebuild the project)
The MAP file is parsed by idf_size.py and it is possible that your project contains some unexpected organization of the segments there.
is it possible to share with us your MAP file? Note that it might contain sensitive information if it is a commercial project with closed source. In that case are you able to reproduce the issue with some other project (eg. IDF example)?
Do you get the same values with idf_size.py from the IDF master branch? (can be tested in console and no need to rebuild the project)
The MAP file is parsed by idf_size.py and it is possible that your project contains some unexpected organization of the segments there.
Re: VS Code - Size Analysis
Are they not simply showing used/free instead of the expected used/total? The bars should be using the ratio values or used/(used+available) instead.
It would also be great to have the total_size front-and-centre in this view.
It would also be great to have the total_size front-and-centre in this view.
- ESP_Soumesh
- Posts: 19
- Joined: Tue Jul 09, 2019 2:21 pm
Re: VS Code - Size Analysis
Correct will fix this behaviour, same can be tracked https://github.com/espressif/vscode-esp ... issues/128
Who is online
Users browsing this forum: No registered users and 52 guests