-
Notifications
You must be signed in to change notification settings - Fork 620
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 Leaks! #533
Comments
i'm also having this exact same issue! it would be nice to have a way to dispose unused instances or at least give us a way to workaround it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ReactEcharts library is causing memory leaks. During Dev mode, while I am on the same page and constantly refreshing after changes, in about a few hours, I get a javascript memory heap problem that kills my code. This is not good, as I'm unable to launch to production with the library in fear of it causing memory issues and killing my site.
With normal echarts, you have to call the
dispose
method. Please see article. I see in your source code that it does have the call in the unmount:But, it seems I still get this memory issue after staying on the same page and refreshing.
I am also tracking the the memory limits as below:
And it increases after each refresh
This is a problem for many people as well in the echarts community. Here's some with the issue as well. This is a crucial issue or else this library cannot be used in production!
Here is my code below
The text was updated successfully, but these errors were encountered: