InfiniTimeOrg / InfiniTimeOrg/InfiniSim
Free memory budget is wrong
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 203
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
The memory budget displayed when pressing p is wrong.
It overestimates the free space left by a substantial amount (I think around 15000).
I am pretty sure this comes from not considering FreeRTOS tasks getting their stack allocated on the heap on creation, now that the heaps were unified.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the p key path that displays the memory budget, then inspect how FreeRTOS task stacks are allocated after the heaps were unified. Confirm the accounting against the actual free heap, including task stacks, and verify that the displayed budget no longer overestimates available space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100