fxingzhe

Members
  • Content count

    3
  • Joined

  • Last visited

About fxingzhe

  • Rank
    Forum Newbie
  1. memory increases by calling setXmlData()

    thanks for your help.
  2. memory increases by calling setXmlData()

    absolutely right , setInterval is used for triggering ajax events, setXmlData() method works in "success" callback function. screen shots collected by chrome developer tools is uploaded by attach file. schema code refers to fusioncharts function callback() { ........ FusionCharts("myChartID").setXMLData(xmlStr); ............ } setInterval(function(){ $ajax({ ......... success: callback(); }) },3000); i check the memory usage by chrome's task mamnager, and memory usage is a bit increasing, however , I can't judge what leads to such increase . by the way , thank you for your information on "Memory Leak due to setInterval()" , which inspires me a lot . expecting your guiding.
  3. in my project , I need to update my charts'data every 3 secords, so i fullfill it by calling setXmlData() every 3 secord ; however, I encountered such a problem that I found the memory usage was increasing in chrome, i check memory by chrome's task manager. what's wrong with it ? is there somthing wrong with setXmlData(), or how could i fullfill my task mentioned above. expecting your help.