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

JS memory leak #41

Open
mathieufrh opened this issue Nov 17, 2015 · 1 comment
Open

JS memory leak #41

mathieufrh opened this issue Nov 17, 2015 · 1 comment

Comments

@mathieufrh
Copy link

Hi,

This little program looks fun. But I just want to let you know that there's an memory issue with the js code. I am really not a js expert but you can check it in chrome using snapshots or other tools. In dashboard.js you keep create charts but you never delete them. I think it would be better to use the update method of Chart.js. You declare the charts in main.html and you update them in dashboard.js using the data returned by the usage/views.py functions.

@ghost
Copy link

ghost commented Aug 10, 2017

@mathieufrh could you please provide me with screenshots of the memory leak? I will see if I can find some time to fork the project and fix the issue.

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