Memory is a hard constraint in mobile applications because devices have limited RAM and the OS may terminate apps that use too much memory. Interviewers ask this to evaluate whether you understand both language-level memory behavior and app-level resource management.
Explain how you handle memory management in a mobile application.
Address these points:
The interviewer expects a systems-oriented explanation rather than platform-specific trivia. Cover object lifetimes, references, lifecycle-aware cleanup, cache sizing, and low-memory handling. You should also mention trade-offs: aggressive caching improves speed but increases RAM pressure, while frequent reloading reduces memory but may hurt latency and battery.