It is currently Fri Nov 27, 2015 3:00 am Advanced search

Memory Leak

Technical support, bug reports and more.

Memory Leak

Postby sayeef » Thu Nov 10, 2011 5:33 pm

I think HighCharts has memory leaks, at least in Goggle Chrome.
I am seeing memory leakage in an application I am supporting which is using HighCharts.
So after a while Chrome is crashing.
Since it has third party code , which is would possibly leak memory also, I tried to isolate the problem.
So I stumbled upon, the online test page from HighCharts at ... rt-destroy

I ran Chrome profiler before and after "Run 100 times" button is clicked
I saw that the memory usage was 2.53MB before button was clicked and
4.53 MB after the button was clicked ..
I ran the GC and it still was 4.53 MB.

This tells me -- the HighSofts own test code proves that HighCharts leaks memory in Chrome.
Please let me know if my interpretation is wrong .
If I am correct, can you give me some advice as how we go forward using high charts.
Best regards
Posts: 2
Joined: Wed Nov 09, 2011 10:36 pm

Re: Memory Leak

Postby Tyna » Sat Nov 12, 2011 8:05 pm

I also suspect memory leakage in Highcharts, so would be glad to hear some advice how to deal with this, too..TIA
ipad developer
Last edited by Tyna on Thu Dec 01, 2011 5:56 am, edited 1 time in total.
Posts: 1
Joined: Sat Nov 12, 2011 2:17 am

Re: Memory Leak

Postby siloan » Sun Nov 13, 2011 1:37 pm

Same here in latest firefox, +65mb mem :|
Posts: 14
Joined: Thu Nov 03, 2011 3:28 pm

Re: Memory Leak

Postby eolsson » Mon Nov 14, 2011 5:30 pm

You are right in that we are not quite there with a zero memory delta yet, but it is getting better and better though.

Workaround: is to refresh the browser, but I guess that is not a real option.
Erik Olsson
Highsoft Solutions AS
Posts: 396
Joined: Tue May 03, 2011 1:07 pm

Return to Highcharts Usage

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], MSNbot Media and 9 guests