It is currently Fri Oct 31, 2014 7:50 pm Advanced search

Memory Leak

Technical support, bug reports and more.

Memory Leak

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

All,
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
http://www.highcharts.com/tests/?file=m ... 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
Sayeef
sayeef
 
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.
Tyna
 
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 :|
siloan
 
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
eolsson
 
Posts: 396
Joined: Tue May 03, 2011 1:07 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Bing [Bot] and 6 guests