Android apps run with limited memory and are subject to the system killing apps under memory pressure. Understanding memory management — and especially avoiding memory leaks (a common, serious Android problem) — is important for stable, performant apps.
Android memory basics
→ Apps have a LIMITED heap; the system can KILL background apps to reclaim memory
→ Garbage collection reclaims unreachable objects — but GC pauses can cause jank, and
objects that STAY reachable (leaks) are never collected
→ Low-memory devices are common (Android's range) → memory efficiency matters
