Closed Bug 991084 Opened 10 years ago Closed 7 years ago

[Buri] Loading CNN website crashes the browser

Categories

(Firefox OS Graveyard :: Performance, defect, P2)

ARM
Gonk (Firefox OS)

Tracking

(tracking-b2g:-)

RESOLVED WONTFIX
tracking-b2g -

People

(Reporter: njpark, Unassigned)

References

Details

(Keywords: memory-footprint, perf, Whiteboard: [c=memory p= s= u=] [MemShrink:P3])

Attachments

(2 files)

STR:

Open firefox browser, and go to cnn.com, and select '5 things to know for your day' link.  the exact link is:
http://newday.blogs.cnn.com/2014/04/02/5-things-to-know-for-your-new-day-wednesday-april-2-2014/?hpt=hp_t2

Wait for it to load.

Expected:
The page loads without issue

Actual:
The browser crashes with "We tried to display this web page, but it's not responding" error while loading images.

Attached is the logcat.

Version:
Gaia      6274b3645b3d41df4aa5a55398b5d106edf1c528
Gecko     https://hg.mozilla.org/mozilla-central/rev/4941a2ac0786
BuildID   20140402040201
Version   31.0a1
ro.build.version.incremental=eng.tclxa.20131223.163538
ro.build.date=Mon Dec 23 16:36:04 CST 2013
Hi nical, is this by any chance related to the bug 980647?
Flags: needinfo?(nical.bugzilla)
No-Jun - Is there a crash report URL present after you run this STR?

We also need to know if this happens on 1.1 or not, as that will determine if this is a performance regression in gecko or a site problem.
Component: Gaia::Browser → General
Flags: needinfo?(npark)
Just verified that this happens on 1.1 on buri as well.

There is no crash report URL present- all it displays is close tab or reload page.  (the browser itself did not crash)
Flags: needinfo?(npark)
Ok - then that's a TE issue.
Component: General → Mobile
Product: Firefox OS → Tech Evangelism
Flags: needinfo?(nical.bugzilla) → needinfo?
Flags: needinfo?
Just tested on today's master build, this is an out-of-memory condition. The browser memory usage keeps going up while loading the page triggering multiple low-memory notifications until it completely runs out of memory and gets killed by the LMK. I'll try getting an about:memory report to see where the memory is going and what we can do about it.
Jason, why is this TE? Shouldn't we look into whether we can fix memory leaks or optimise mem usage?
How the page is performing on other browsers with platform more or less equivalent?
No-Jun - Is the site loading at the target URL a desktop site or a mobile site?
Flags: needinfo?(npark)
The page is optimized for mobile, so it looks like a mobile site.
Shortened URL for easy mobile check: http://cnn.it/QFqKFX
Flags: needinfo?(npark)
Okay - so that means this is actually a FxOS bug then.
Component: Mobile → Performance
Product: Tech Evangelism → Firefox OS
Just to note, on my Nexus 4 with Android 4.4, Firefox actually loads this page with no issues.
I've tried opening the page on my Peak using the current master build as it has enough memory to do it. This is the output of about:memory after the page has finished loading.

From a bird's eye view I'd say the page is pretty large in and by itself but we're also suffering from some significant inefficiencies while loading this page. On ~130 MiB of explicit allocations we have ~7MiB of unused-gc-things and ~8MiB of wasted heap. That's 13% of pure overhead. heap-unclassified is also fairly large at 13+ MiB.
Severity: normal → major
Keywords: footprint, perf
Priority: -- → P2
Whiteboard: [c=memory p= s= u=] [MemShrink]
There may be some things we can do here but this site really does use a ton of memory.
P3 because the site uses so much memory, so there's no single action we can take that will help this.
Whiteboard: [c=memory p= s= u=] [MemShrink] → [c=memory p= s= u=] [MemShrink:P3]
tracking-b2g: --- → -
Closing out old Firefox OS specific memshrink bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: