﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / JavaScript Problems  / Out of memory error multiple charts / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Sat, 06 Sep 2008 23:28:53 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Sorry, my mistake.&lt;br&gt;&lt;br&gt;The problem is with flash player version 9,0,16,0&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Tue, 18 Mar 2008 03:40:26 GMT</pubDate><dc:creator>Amarendra</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Thanks for reply.&lt;br&gt;&lt;br&gt;I am using flash player 9,0,16,0&lt;br&gt;&lt;br&gt;And on my another machine which also has same flash player I do not get the out of memory error.&lt;br&gt;&lt;br&gt;So there may be some other reason for this error.&lt;br&gt;&lt;br&gt;-Amarendra</description><pubDate>Mon, 17 Mar 2008 23:49:34 GMT</pubDate><dc:creator>Amarendra</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hi Amarendra,&lt;/P&gt;&lt;P&gt;Please update your flash player.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arindam</description><pubDate>Mon, 17 Mar 2008 04:55:13 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I am also getting same error.  I have 4 charts per page. &lt;br&gt;I am opening the page containing charts in new window using _blank.&lt;br&gt;If I open same charts in multiple say 4-5 pages then while closing the windows I am getting out of memory error.&lt;br&gt;&lt;br&gt;All charts have been registered with JS.&lt;br&gt;&lt;br&gt;Let me know if anybody has found fix for this issue or any work-around.&lt;br&gt;&lt;br&gt;-Amarendra</description><pubDate>Mon, 17 Mar 2008 04:49:10 GMT</pubDate><dc:creator>Amarendra</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>hi,&lt;BR&gt;this is an error with some versions of Flash Player ( 9.0.16). We are trying for some fix.</description><pubDate>Sat, 09 Feb 2008 01:00:56 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Any updates on this issue? I have the same problem. If I register 2 gpahs with javascript then I get the Out of memory error. However, this seems to be PC specific. I have a desktop and laptop both running Windows XP Professional SP2 and the page works fine on 1 and I get the error on the other.</description><pubDate>Tue, 15 Jan 2008 11:02:24 GMT</pubDate><dc:creator>cawthor</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have been experiencing the same problem as Bobby when using two graphs on the same page, both in my own application and also using the example he supplied.  I only downloaded the trial of FusionCharts two days ago so I have the latest version of the js file.&lt;/P&gt;&lt;P&gt;I've found that if I install the example code on a Win2K server and attempt to refresh the page from a workstation, then I see the out of memory error.  However, if I run the same code from the C drive of the same workstation, then the error does not occur.  If I log on to the server and invoke the page from IIS Manager, then I do not see the error.  I have tested on other workstations and experienced the same problem.&lt;/P&gt;&lt;P&gt;In the above cases, both charts were registered with Javascript.  If only one graph is registered with Javascript, then it works correctly in all cases.&lt;/P&gt;&lt;P&gt;I am going to zip and send the tested code to your support email account.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter</description><pubDate>Wed, 09 Jan 2008 17:05:56 GMT</pubDate><dc:creator>peter01</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>hi,&lt;BR&gt;can you please try using our latest FusionCharts.js and the charts updated in version 3.0.5. Morreover you can try updating the Flash Player.</description><pubDate>Thu, 03 Jan 2008 01:20:23 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Is there any update to this, as I constantly receive the same error. Some workarounds such as only registering 1 chart with JS works and sometimes not at all depending how many charts you have on the page. &lt;/P&gt;&lt;P&gt;Also is there any method I should trigger in JS when removing a chart from the screen ? I saw fla action script does a remove() method, is there a function on the chart object ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ben</description><pubDate>Wed, 02 Jan 2008 04:29:19 GMT</pubDate><dc:creator>benjamin75</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Bobby,&lt;/P&gt;&lt;P&gt;Apparently, everything seems right. Can you zip and send us the code at &lt;A href="mailto:support@fusioncharts.com"&gt;support@fusioncharts.com&lt;/A&gt;?</description><pubDate>Fri, 24 Aug 2007 02:31:30 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Pallav, &lt;/P&gt;&lt;P&gt;Yes I did download FusionCharts v3.0.4 so that is current.  The fusionCharts.js file that I have is 10.3K and was last modified June 29, 2007.  &lt;/P&gt;&lt;P&gt;Is this correct or is their a new version of that file?&lt;/P&gt;&lt;P&gt;Bobby</description><pubDate>Thu, 23 Aug 2007 09:45:47 GMT</pubDate><dc:creator>Bobby</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Bobby,&lt;/P&gt;&lt;P&gt;Two more checks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you make sure that you're using v3.0.4 of FusionCharts? To check this, just switch the debug mode to on.&lt;/LI&gt;&lt;LI&gt;Can you also make sure that you're using latest version of FusionCharts.js (size 11 KB)?&lt;/LI&gt;&lt;/UL&gt;</description><pubDate>Thu, 23 Aug 2007 00:18:49 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Thought I would post this code...&lt;/P&gt;&lt;P&gt;Even with something as simple as this...&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR&gt;&amp;lt;head&amp;gt;&lt;BR&gt;&amp;lt;title&amp;gt;Example Charting&amp;lt;/title&amp;gt;&lt;BR&gt;&amp;lt;script src="fusionCharts/fusionCharts.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR&gt;&amp;lt;/head&amp;gt;&lt;BR&gt;&amp;lt;body&amp;gt;&lt;BR&gt;&amp;lt;div id="piechartdiv" align="center"&amp;gt;Loading bar chart...&amp;lt;/div&amp;gt;&lt;BR&gt;&amp;lt;div id="piechartdiv2" align="center"&amp;gt;Loading bar chart...&amp;lt;/div&amp;gt;&lt;BR&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR&gt;var myPieChart = new FusionCharts("fusionCharts/Column3d.swf", "myPieChartId", "600", "300", "0", "1");&lt;BR&gt;myPieChart.setDataXML("&amp;lt;chart&amp;gt;&amp;lt;/chart&amp;gt;");&lt;BR&gt;myPieChart.render("piechartdiv")&lt;/P&gt;&lt;P&gt;var myNumbersPieChart = new FusionCharts("fusionCharts/MSColumn3d.swf", "myNumbersPieChartId", "600", "300", "0", "1");&lt;BR&gt;myNumbersPieChart.setDataXML("&amp;lt;chart&amp;gt;&amp;lt;/chart&amp;gt;");&lt;BR&gt;myNumbersPieChart.render("piechartdiv2")&lt;BR&gt;&amp;lt;/script&amp;gt;&lt;BR&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;... I receive the error.  Again to clarify, the page loads the first time just fine.  However, any "unload" event (refreshing window, closing window, going to a different site, etc) will fire the "out of memory at line: xx" error.  And this is only when both registerWithJs flags are set to "1".  If one is set to "1" and the other is set to "0", I will not receive this error.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Bobby </description><pubDate>Wed, 22 Aug 2007 15:53:56 GMT</pubDate><dc:creator>Bobby</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hi Pallav,&lt;/P&gt;&lt;P&gt;Thank you for replying.  &lt;/P&gt;&lt;P&gt;Yes both charts have different chart IDs&lt;/P&gt;&lt;P&gt;Yes both charts have different DIV Ids &lt;/P&gt;&lt;P&gt;Yes both charts have different variable names &lt;/P&gt;&lt;P&gt;I am only including FusionCharts.js once in the page&lt;/P&gt;&lt;P&gt;I have not seen any simple examples of having multiple charts being able to interact wtih javaScript.  &lt;/P&gt;&lt;P&gt;Not sure what else to do/try.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bobby </description><pubDate>Wed, 22 Aug 2007 14:51:39 GMT</pubDate><dc:creator>Bobby</dc:creator></item><item><title>RE: Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Bobby,&lt;/P&gt;&lt;P&gt;Can you make sure that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Both charts have different chart IDs?&lt;/LI&gt;&lt;LI&gt;Both charts have different DIV Ids?&lt;/LI&gt;&lt;LI&gt;Both charts have different variable names?&lt;/LI&gt;&lt;LI&gt;You're including FusionCharts.js only once in the page.&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Fri, 17 Aug 2007 02:12:44 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Out of memory error multiple charts</title><link>http://www.fusioncharts.com/forum/Topic1975-35-1.aspx</link><description>Hello, &lt;P&gt;I am currently evaluating your product and am very close to purchasing the license for it.  Very impressive so far I must say :-)  Quick question, and I do apologize if I missed this somewhere in the documentation or another post.  I am using JavaScript to create 2 charts in my page.  I am getting an "out of memory" error if I set the registerWithJS flag to "1" on BOTH charts and I getting this error ONLY if the page is refreshed, or unloaded in someway.  Initial load works fine.  This is important to me because I have the need to dynamically change both charts client side.  If I set the registerWithJS flag to "1" for one chart, and "0" for the other one, all is well.  Only when I set both flags to "1" do I see this problem. &lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Bobby &lt;BR&gt; </description><pubDate>Wed, 15 Aug 2007 01:07:49 GMT</pubDate><dc:creator>Bobby</dc:creator></item></channel></rss>