commit | 854dede186fde6b184b57992aa688bf576e54e69 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Nov 16 10:48:32 2021 +0000 |
committer | Primiano Tucci <primiano@google.com> | Tue Nov 16 10:48:32 2021 +0000 |
tree | c092016a125fa29cda09c244c1e6fd19449150d5 | |
parent | 0436a499bf19362004f707071a84dbde355ee51e [diff] |
Speculative fix for mem watchdog crash We keep hitting the memory watchdog ~60s after the end of a trace session (note that 60s is precisely a watchdog window). I am suspecting this is heap churn created by ReadBuffers which accumulates in scudo fragmentation. Force a M_PURGE call on every ReadBuffers(). If this makes the problem go away we should throttle this a bit more. If not we should remove it. Bug: 195145848 Change-Id: I7554fbe812ca16e08451234c9bccff752c3856cf
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.