tree: 8ad3cbf5e535c1361eb747daa6c14c34478fa765 [path history] [tgz]
  1. achievements.md
  2. android_dev_tips.md
  3. bad_jokes.md
  4. debugging_memory_issues.md
  5. filing_memory_bugs.md
  6. investigating_heap_dump_example.md
  7. key_concepts.md
  8. objectives.md
  9. README.md
  10. tools.md
docs/memory/README.md

Memory

Landing page for all things memory-related in Chromium.

The goal is to keep an up-to-date set of links and references that will help people understand what is actively happening in the memory space. Please keep this landing page short and action oriented.

That being said, please also send CL with update and changes. This should reflect current active status, and it's easier to do that if everyone helps maintain it. :)

How is chrome's memory usage doing in the world?

Look at the UMAs Memory.{Total,Renderer,Browser,Gpu,Extension}.PrivateMemoryFootprint.

These metrics are known to lack sufficient context. e.g. How many renderers are open? What site is a renderer hosting? How long has the browser been running?

Some of these graphs are now available at go/mem-ukm.

How do developers communicate?

Note, these channels are for developer coordination and NOT user support. If you are a Chromium user experiencing a memory related problem, file a bug instead.

namedescription
memory-dev@chromium.orgDiscussion group for all things memory related. Post docs, discuss bugs, etc., here.
chrome-memory@google.comGoogle internal version of the above. Use sparingly.
https://chromiumdev.slack.com/messages/memory/Slack channel for real-time discussion with memory devs. Lots of C++ sadness too.
crbug Performance=Memory labelBucket with auto-filed and user-filed bugs.
crbug Stability=Memory labelTracks mostly OOM crashes.

I have memory problem, what do I do?

Follow these instructions to file a high quality bug.

I'm a developer trying to investigate a memory issues, what do I do?

See this page for further instructions.

I'm a developer looking for more information. How do I get started?

Great! First, sign up for the mailing lists above and check out the slack channel.

Second, familiarize yourself with the following:

TopicDescription
Key Concepts in Chrome MemoryPrimer for memory terminology in Chrome.
memory-infraThe primary tool used for inspecting allocations.

What are people actively working on?

ProjectDescription
Purge+Throttle/SuspendCentralized policy and coordination of all memory components in Chrome
Memory-InfraTooling and infrastructure for Memory
System health benchmarksAutomated tests based on telemetry
Out of Process Heap ProfilingCollect heap dumps from the wild
Always on Document Leak DetectorUMA-based sanity check that DOM objects are not leaking in the wild.
Real-world leak detectorRuns blink leak detector on top-sites [web-page-replay] on waterfall.

Key knowledge areas and contacts

Knowledge AreaContact points
Chrome on Androidlizeb, pasko, ssid
Browser Processssid, erikchen, etienneb
GPU/ccericrk
Memory metricsssid, erikchen, primano, ajwong, wez
Native Heap Profilingprimiano, ajwong
Net Stackmmenke, rsleevi, xunjieli
Renderer Processharaken, tasak, hajimehoshi, keishi, hiroshige
V8hpayer, ulan, verwaest, mlippautz
Out of Process Heap Profilingerikchen, ajwong, brettw, etienneb

Other docs