Home Forums Report Bugs Memory Leak Reply To: Memory Leak


Hey guys,
First of all, thank you for the great tool that you have developed.

I am a beginner in programming so most likely, it could be something that I am missing.

I am currently using AJAX to pull data from a database and using your Scatter graph to display. It works fine until I use setInterval command to to call the same function that pulls data from database via AJAX call and render the chart again.

The browser crashes after few loops as the browser is consuming too much memory. I have tried using the chart.destory() function, but that didn’t help either.
I tried pasting the code, but it keeps on saying, I have been blocked.

I have uploaded the javascript file in fiddle.

  • This reply was modified 2 years ago by nrwcdeep. Reason: fiddle