Use M_PURGE_ALL instead M_PURGE. M_PURGE_ALL is the more thorough version of purging that will release absolutely as much as possible. Try that first, but if it doesn't work, use M_PURGE. Test: unitttest pass. Test: integrationtests pass. Change-Id: Ibd54e12630f7ffc3a6f324afdba1376de266e253
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.