Hi,
We have Blink running on a Mips based platform.
When I try to run YouTube Leanback, I face memory related issues.
As and when I move from one video to other, I see that memory usage keeps on increasing. Since our platforms have limited memory, we cannot afford lots of memory.
The render, which starts with around 60MB of poster page (First page of YTL), reaches more than 300MB (VmRSS) by around 15th Video. For every video, it increases by around 15MB. We need not play full video, but jumping to next video after 2 seconds we see the issue.
(Note that it happens only during MSE based playback and otherwise we have not seen such huge raise in memory.)
Initially thought it might be due to JS, so even tried running with --max_old_space_size limit. But it didnt help.
So was checking the maps for the renderer process.
For each video played, I see two types mapping :
First one:
20921000-2093f000 rw-p 00000000 00:00 0
2093f000-20a60000 ---p 00000000 00:00 0
..
..
Second one:
613f8000-617f9000 rw-s 00000000 00:13 12576 /dev/shm/.org.chromium.Chromium.0TEJF5 (deleted)
617fa000-61bfb000 rw-s 00000000 00:13 12342 /dev/shm/.org.chromium.Chromium.pp17RI (deleted)
..
..
Shared memory, I see that one place it gets generated is "audio_sync_reader.cc". Since I dont see the files in "/dev/shm", its already deleted and hence we see the deleted.
But the question if we can free up after the use? Where can I look into for more memory optimized way?
Any suggestions?
Thanks