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

func_free does not include dynamic memory #34

Open
matthijskooijman opened this issue Mar 7, 2014 · 1 comment
Open

func_free does not include dynamic memory #34

matthijskooijman opened this issue Mar 7, 2014 · 1 comment

Comments

@matthijskooijman
Copy link

The current implementation of the free function does not include any dynamic memory. It just includes the bss section (static memory using __bss_end) and the stack. Even though bitlash itself doesn't use dynamic memory, sketches may and this should be accounted for in the free output. The func_free implementation already links to a page that does this, using the __brkval variable.

@billroy
Copy link
Owner

billroy commented Mar 7, 2014

It’s a fair point. There was literally not room for such luxuries in the '168 version but we can be somewhat less stingy now.

-br

On Mar 7, 2014, at 5:43 AM, Matthijs Kooijman notifications@github.com wrote:

The current implementation of the free function does not include any dynamic memory. It just includes the bss section (static memory using __bss_end) and the stack. Even though bitlash itself doesn't use dynamic memory, sketches may and this should be accounted for in the free output. The func_free implementation already links to a page that does this, using the __brkval variable.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants