High CPU Usage, Browser Crash with wmode and Multiple Graphs
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


«««12345»»»

High CPU Usage, Browser Crash with wmode and... Expand / Collapse
Author
Message
Posted 3/7/2008 9:28:02 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 2:17:36 AM
Posts: 2,146, Visits: 500
Hi,

Just to update on this, we've been working on this issue. Apparently the issue seems to be Firefox specific. For example, if you visit http://www.fusioncharts.com/test/MemCheck/Index.html in IE, the CPU usage stays at 1-2% and goes back to 0% after the charts have been rendered.

However, if you open the same in Firefox, the CPU spikes to around 30-50% on a 2 gig RAM.

We've reported this bug to Mozilla and hope to get a solution soon - https://bugzilla.mozilla.org/show_bug.cgi?id=421643

If you've any feedback on this, it'll be greatly appreciated.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #5000
Posted 3/11/2008 4:05:56 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/1/2008 3:37:32 PM
Posts: 8, Visits: 23
Pallav--

Just wanted to thank you guys for the effort. I know how hard this stuff is to track down.

Just checked your test page in FF/WIN and I'm seeing the telltale CPU spike-- so it looks like you guys found it.

Is there something unique about FusionCharts? Or would any colleciton of flash objects with these WMODE settings do the same thing?


-Tony
Post #5025
Posted 3/21/2008 5:06:20 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/1/2008 3:37:32 PM
Posts: 8, Visits: 23
Also, do you know if it's directly related to the number of FusionCharts objects on the page? Is there a magic # that causes the problem to manifest? It would be nice if you'd post something like:

"We know this is a problem and are trying to get Mozilla to fix it. In the meantime, here are the things that seem to resolve the problem:

1. Use less than X charts per page.
2. Avoid wmode tranparent
3. etc.
4. etc."

Have you narrowed the problem down at all?


-Tony
Post #5223
Posted 3/21/2008 6:14:57 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/1/2008 3:37:32 PM
Posts: 8, Visits: 23
More data for you-

We had one of our users disable some of the SWF charts and it cleared right up-- so it seems to be related to the number of charts (or at least seems to clear up with fewer charts on a page).

http://getsatisfaction.com/rescuetime/topics/firefox_use_99_cpu_when_viewing_rescuetime_dashboard

This is pretty much a dealbreaker for us, sadly. I love FusionCharts, but I can't have my app crashing/locking the browser for a significant portion of the audience we're building for.

Unless I see resolution, my plan is to phase out FusionCharts over the next few months. More importantly, I'll probably stop recommending it to folks (I'd wager you have a dozen customers that have come in from my recommendations).

For what it's worth, I know the problem is probably outside of your control-- but it doesn't change the fact that FusionCharts is not useful for any dashboard-style implementation (with multiple graphs and sophisticated controls).


-Tony
Post #5225
Posted 4/7/2008 8:28:41 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/8/2008 1:58:05 PM
Posts: 4, Visits: 11
I have the same problem.

What I am seeing is that firefox seems to be requesting the .SWF files multiple times. Maybe this was already noted, but monitoring the traffic shows it to be the case. I have 15 of the same displayed charts with different values (sparklines) and it asks for the .swf files 15 times.
Post #5481
Posted 4/8/2008 10:31:28 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 2:17:36 AM
Posts: 2,146, Visits: 500
The number of charts is not much of a factor here. For example, we're tried with 80 charts in a page and it works fine. But at other times, with just 10 different charts in a page, it seems to have CPU usage.

Also, in Firefox, there's a constant bar at bottom showing "Transferring data from ...", whereas, once the chart has loaded, we do not transfer any data.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #5525
Posted 4/15/2008 1:37:33 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/17/2008 7:40:52 AM
Posts: 9, Visits: 15
Is there a fix or a workaround for this yet I am having the same problem with 6 charts on the page in firefox?
Post #5670
Posted 4/15/2008 5:37:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/1/2008 3:37:32 PM
Posts: 8, Visits: 23
So you have no information about how best to avoid this?

Chart number? Chart type? Anything?


-Tony
Post #5673