Investigating chrome processes memory usage

43 views
Skip to first unread message

Usama Naseer

unread,
Apr 26, 2019, 4:23:27 PM4/26/19
to Chromium-dev
Hi folks. I am working on investigating Chrome's memory usage on mobile phones. The goal is to divide the total memory used into memory used by individual processes (eg, rendering, scripting). Is this possible?

I can see 3 processes when I load a website in chrome. The memory distribution is shown below. I am unable to see any separate rendering or painting process. Rather there's a per-tab "sandboxed" process that seems to be using most of the RAM and I believe that's the process responsible for rendering, painting, scripting etc. Is there a way to divide its memory usage according to the different functions (rendering, painting, scripting)?



Thanks!

Erik Chen

unread,
Apr 26, 2019, 4:37:57 PM4/26/19
to usama6...@gmail.com, Chromium-dev
The memory-infra category in chrome://tracing provides a per-component breakdown of memory usage. We also support malloc profiling.

Unfortunately, "memory usage" is a poorly defined concept. We have some documentation here that describes some of the subtleties. 

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/346d5def-8f8f-4da1-93f9-2f9a46109a36%40chromium.org.
Reply all
Reply to author
Forward
0 new messages