Skip to content
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

Read out heap space used and unallocated #21033

Closed
kristoftjonck opened this issue Nov 27, 2019 · 3 comments
Closed

Read out heap space used and unallocated #21033

kristoftjonck opened this issue Nov 27, 2019 · 3 comments
Assignees
Labels
area: Kernel Feature Request A request for a new feature

Comments

@kristoftjonck
Copy link

Is your feature request related to a problem? Please describe.
I need to know how much heap size is allocated, how much is used and how much is left. Like the "xPortGetFreeHeapSize()" in freeRTOS.

Describe the solution you'd like
Function to read out the total heap size, used allocated heap space / unallocated heap space left.

Not sure if it is implemented, but could not find it in the documentation.

@kristoftjonck kristoftjonck added the Feature Request A request for a new feature label Nov 27, 2019
@aescolar
Copy link
Member

CC @andyross @andrewboie

@carlescufi
Copy link
Member

@andyross could you consider adding this to your new heap allocator?

@andyross
Copy link
Contributor

Duplicate of #23076

@andyross andyross marked this as a duplicate of #23076 Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel Feature Request A request for a new feature
Projects
None yet
Development

No branches or pull requests

4 participants