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

Memory leak on member of nothing #492

Closed
gfwilliams opened this issue Feb 6, 2015 · 1 comment
Closed

Memory leak on member of nothing #492

gfwilliams opened this issue Feb 6, 2015 · 1 comment

Comments

@gfwilliams
Copy link
Member

See http://forum.espruino.com/conversations/259788/#12085299

On Linux, probably on most platforms:

>.help;
...SyntaxError
>quit();
.. memory leaks shown
@gfwilliams
Copy link
Member Author

It's not a problem with the interpreter at all.

It's just that on exit Espruino was showing all memory that was left allocated. It should have run a garbage collection pass beforehand, so it could be sure that the stuff it was showing was actually a memory leak, and not just stuff that was left hanging around.

Have just added a GC call in 008f4ba to fix this

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

1 participant