Sign in to follow this  
yoxler

Memory leak

Recommended Posts

We are using FC 3.9 and we have discovered a memory leak.

 

The leak has been verified in IE8 and IE11. 

 

We have a dashboard with multiple charts displaying data in real time. So we have to refresh often.

 

Code to verify(we do not refresh 0,1sec in our dashboard, its just set to 0,1 for verification):

<HTML>
<script type="text/javascript"  src="./FusionCharts/js/fusioncharts.js"  > </script>
    <script type="text/javascript"  src="./FusionCharts/js/fusioncharts.charts.js"  > </script>
    <script type="text/javascript"  src="./FusionCharts/js/themes/fusioncharts.theme.fint.js"  > </script>
  <BODY>
    
 
    <div id="chartdiv8758" align="left"></div>
 
    <script type="text/javascript">
 
      FusionCharts.ready(function() {
        var myChart8758 = new FusionCharts(
        {
           "type": "mscombidy2d",
           "renderAt": "chartdiv8758",
           "id": "myChartId8758",
           "width": "585",
           "height": "225",
           "dataFormat": "xml"
        });
        myChart8758.setTransparent(true);
        myChart8758.setXMLData("<?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?><chart></chart>");
        myChart8758.render("chartdiv8758");
 
 
      });
 
      function test() {
        var myChart8758 = FusionCharts("myChartId8758");
        myChart8758.setXMLData("<chart></chart>");
      }
 
 FusionCharts.ready(function() {
setInterval(test, 100);
 });
</script>
  </BODY>
</HTML>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this