yhadar1 Report post Posted July 11, 2012 hi Fusioncharts! i have a php page that loops through 26 queries and renders each. this causes the browser to crash and say "out of memory at line xxx". doing the same with half works as expected. can you please give me an advice about generating such large number of charts? Thanks! yhadar1 Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted July 13, 2012 (edited) Hi, Could you please provide a bit more information by stating, 1. The types of chart you are rendering 2. Maximim data points to each chart for plotting 3. Provide the code snippet for looping in PHP 4. The Browser details, in which you are trying to render the charts Awaiting inputs from your end. Edited July 13, 2012 by Sashibhusan Share this post Link to post Share on other sites
yhadar1 Report post Posted July 15, 2012 HI, 1. 13 charts are MScolumn3D and 13 are Column3D. 2. not too many, 20 max, average is about 10 3. its a bit complicated, the php page use JQuery to send information to a second page which then returns the chart (HTML): foreach ($divarr as $div) { $i++; usleep(2000000); ?> <div id="<?php echo $div[0].$i;?>" class="graphContainer"> <input type="hidden" class="Query" value="<?php echo $div[0]; ?>" /> <input type="hidden" class="Queryrun" value="<?php echo $div[0].$i; ?>" /> <input type="hidden" class="ResultType" value="<?php echo $div[1]; ?>" /> <input type="hidden" class="DefaultGraph" value="<?php echo $div[2]; ?>" /> <input type="hidden" class="Header" value="<?php echo $div[3]; ?>" /> <input type="hidden" class="Database" value="<?php echo $div[4]; ?>" /> <input type="hidden" class="subheader" value="<?php echo $div[5]; ?>" /> <input type="hidden" class="clicklink" value="<?php echo $div[6]; ?>" /> <input type="hidden" class="service" value="<?php echo $div[7]; ?>" /> <input type="hidden" class="size" value="<?php echo $div[8]; ?>" /> <div id="<?php echo $div[0].$i."_Graph"; ?>" class="graphArea" align="center"></div> </div> <?php } ?> and in the next page i only have : include("/srv/www/htdocs/fushion/FusionCharts/FusionCharts.php"); echo renderChart("/fushion/FusionCharts/$defaultgraph.swf", '', $xml, $queryname."div", '100%', '100%', false, true); 4. both Chrome and IE9 Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted July 17, 2012 Hi, We are able to render the 26 charts in Chrome and IE9 without having any issues. Could you please send us the sample code along with the screen shot of the error "out of memory at line xxx", to better investigate the issue from our end? Awaiting your response ! Share this post Link to post Share on other sites