RT-Thread / RT-Thread/rt-thread
free 和 rt_memheap_info 不能获取全部内存信息
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
free 只获取了struct rt_memheap system_heap; 的信息,对后加的其他内存块没有统计。
Contributor guide
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 locating the implementations of free and rt_memheap_info, then trace how struct rt_memheap system_heap and subsequently added memory blocks are registered and counted. Done means both commands report complete information for every memory block, with suitable coverage in the existing memory-management tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100