New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 831305 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocked on:
issue 813909
issue 831356



Sign in to add a comment

Chrome is OOM-killed when playing long Youtube videos on 512MiB Go device

Project Member Reported by dskiba@chromium.org, Apr 10 2018

Issue description

The problem: it's not possible to watch hour+ long Youtube videos on 512MiB Android Go devices because Chrome is OOM-killed after ~30 minutes.

Examples (use google@ account):

1. https://docs.google.com/spreadsheets/d/1ONlD5qL0uT7WAXxd7jJBHcP3mpPEXs-4mmucFRii2NQ/edit#gid=0 (killed after 29 mins)
2. https://docs.google.com/spreadsheets/d/1NZUaGcz5ZI9KlUmwLTWEdjtVlrawCDRAPIOgRZ7qbzs/edit#gid=0 (killed after 40 mins)

There are two components that consume large amounts of memory in the renderer process:

(1) Media stack: ~34MiB with 30+1MiB demuxer limits ("Native Heap" in the sheets above)
(2) XMLHttpRequest buffers allocated from PartitionAlloc ("Unknown" in the sheets above)

Outside of the renderer, media.codec process consumes another ~30MiB of memory (depends on video quality).

Right now playing Youtube pushes OS to the limit and Android frequently finds itself in critical memory situation (see "Event upgraded to critical" logcat messages in the sheets above).

We need to reduce renderer memory footprint in order to avoid triggering critical memory situation at OS level.
 

Comment 1 by dskiba@chromium.org, Apr 10 2018

Android-side bug: b/77866863

Comment 2 by dskiba@chromium.org, Apr 10 2018

Blockedon: 813909 831356

Comment 3 by dskiba@chromium.org, May 30 2018

After fixes in issues 813909 and  831356  the situation got better, and now Chrome is able to play long videos. Android bug for media.codec is b/64852183.

Comment 4 by dskiba@chromium.org, May 30 2018

Owner: ----
Status: Fixed (was: Assigned)

Sign in to add a comment