Story

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

AIHacker NewsFiled 5 h ago

Finding and fixing Android memory leaks with Perfetto, SQL, and AI agents

Open the sourceReported by Hacker News, perfetto.dev, 30 November 2026

Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.

Google has open-sourced a Perfetto-based memory profiling stack that captures Android heap retention graphs without app code changes, pairing lightweight reference graphs with a Web UI for dominator flamegraphs and bitmap inspection, PerfettoSQL queries, and fleet-wide analysis via BigTrace. The tooling targets leaks that pin destroyed Fragments, view hierarchies, and tens of megabytes of decoded Bitmap buffers, which can trigger garbage collection pauses, lmkd process kills, or OutOfMemoryError. Unlike traditional HPROF dumps that serialize every primitive field and byte array, Perfetto records object classes, shallow and native allocation sizes, and named member fields, keeping captures fast and privacy-safe on non-debuggable builds. The release matters because it gives the broader Android ecosystem the same workflows Google uses to keep its own apps fast and reliable. Next, watch for adoption in CI pipelines and whether agent-driven root-cause analysis becomes a standard step in Android release engineering.

Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.

Named in this story

Perfetto, Google (GOOGL), Android

A linked name opens that asset's sentiment page.