Memory consumption content_shell vs Chromium

136 views
Skip to first unread message

Nicholas Chabanovsky

unread,
Feb 11, 2014, 4:22:24 AM2/11/14
to chromi...@chromium.org
Hello! 

I want to understand the memory consumption in Chromium. When I run the content_shell module, the browser process consumes about 20 MB and does not change in time but If I run a full Chromium, the browser process takes 47 MB, and in 3 minutes increases up to 62 MB. 

Could you tell, on what modules consumed the memory and how to measure it? Why Chromium increases memory in time even if it is idle?

Linux, Chromium v30.

William Chan (陈智昌)

unread,
Feb 11, 2014, 2:36:45 PM2/11/14
to nicolas.c...@gmail.com, chromium-dev
There are too many reasons/modules and they keep changing. Run a
profiler. See the DeepMemoryProfiler and the default google-perftools
heap profiler: https://code.google.com/p/chromium/wiki/LinuxProfiling.
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev

Nicholas Chabanovsky

unread,
Feb 11, 2014, 2:45:50 PM2/11/14
to chromi...@chromium.org, nicolas.c...@gmail.com
Hello William,

Thanks for response. I already started profiling but it will take a lot of time. Maybe there is any ready information about modules and their memory consumption in the Chromium and in the content shell.

Dai Mikurube

unread,
Feb 13, 2014, 1:23:23 AM2/13/14
to nicolas.c...@gmail.com, chromium-dev
jfyi, some hacks may be needed to run DeepMemoryProfiler (dmprof) for content shell. Ping me or dmp...@chromium.org if it doesn't work. http://dev.chromium.org/developers/deep-memory-profiler

The situation always keeps changing, so it's a bit hard to provide ready information what is the major difference in memory usage. There are many feature differences between content shell and Chrome including looks, backends and extensions...
--
Dai MIKURUBE
Reply all
Reply to author
Forward
0 new messages