Significant increase in IRAM usage from 3.0 to 3.2
Posted: Tue Jun 18, 2019 4:28 pm
Hi folks,
I'm in the process of trying to upgrade my app from IDF 3.0 to IDF 3.2 and have noticed that it won't even build, saying that there is an IRAM overflow. By switching from Debug to Release mode I was able to get it to build so I could compare memory usage, and this is what I found:
This shows the same app built against 3.2 and 3.0, both in Release mode. All options were defaulted when switching to 3.2, aside from MQTT which I turned off since I use my own. The results are from the output of make clean && make size-components.
This seems like an extremely large increase to me, for what is the exact same target codebase. Are there obvious things I can do to reduce this?
Thanks,
Jason
I'm in the process of trying to upgrade my app from IDF 3.0 to IDF 3.2 and have noticed that it won't even build, saying that there is an IRAM overflow. By switching from Debug to Release mode I was able to get it to build so I could compare memory usage, and this is what I found:
This shows the same app built against 3.2 and 3.0, both in Release mode. All options were defaulted when switching to 3.2, aside from MQTT which I turned off since I use my own. The results are from the output of make clean && make size-components.
This seems like an extremely large increase to me, for what is the exact same target codebase. Are there obvious things I can do to reduce this?
Thanks,
Jason