-
-
Notifications
You must be signed in to change notification settings - Fork 77
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 when using newPlot or update #28
Comments
This one is even hard to simulate. When you say memory leak, you mean the browser freezes ? |
Well, more that the RAM usage of my Chrome/Firefox/Edge (tested with all three of them) increases over time. It starts at around 400 Mo and then, as time goes on, go to 1Go, then 2... Up until the browser tab crashes. And this behavior stops if I do not update the graph. So that's why I suppose that the update mechanism may cause that. |
@Alterock13 just updated the lib to use |
Thanks ! |
Hi So I've tried updating and running the app again. And I still have a rising memory consumption. |
@Alterock13 I could not replicate this issue. I might not have tried correctly, so I added a "memory-leak" page on the demo with your example to try to simulate it. I left it running on my mac using opera and the memory didn't grew much in about 5 minutes which I watched. |
Hi,
I'm running Plotly as a way to display data coming from a database, with around 800 new points/second.
As I let my application running, I notice that my RAM usage is steadily inscreasing, eating up to 10Gb of RAM over the course of half an hour.
Looking at Plotly issues on GitHub, I've noticed that Plotly users have reported that it was happening to them 1755 but I think that a recent patch was supposed to fix that.
I've tried both newPlot and update as a way to refresh my plot. Here's my current code :
I'm running out of ideas for this problem, does anyone know how I could stop this memory leak?
Thanks in advance.
The text was updated successfully, but these errors were encountered: