Home forums Chart Support Memory leak? Reply To: Memory leak?

#32831

jse

Sorry for my late response.

After going through my code and comparing it with an example for handling dynamic data on this website, I realized that I had made an insane mistake by destroying and declaring a chart for every data update. I got to this by modifying some examples while getting familiar with CanvasJS.

After rearranging my code I don’t even need destroy() anymore and the RAM used by the browser is very modest.