Tag: Memory Management
All the articles with the tag "Memory Management".
-
Android BitmapPool and inBitmap: Eliminating GC-Caused UI Lag While Scrolling
Learn how BitmapPool and the inBitmap option eliminate the third image-loading problem — GC-caused UI freezes during RecyclerView scrolling — by reusing bitmap memory instead of allocating and discarding it.
-
Android Image Loading: OOM, Downsampling, and the Bandwidth Problem
Understand what really happens when Android loads an image — the download and decode pipeline, why large images cause OOM crashes, how downsampling fixes it, and the hidden bandwidth waste most apps accept.
-
How Instagram Runs Smoothly: Multi-Process Architecture and C++ NDK in Android
Discover why Instagram stays smooth despite handling heavy media. Learn how Android's multi-process architecture, native C++ memory, and JNI work together to eliminate UI lag.
-
Why largeHeap Is Bad for Android Apps: Performance & Memory Explained
Learn why using the largeHeap flag in Android can cause more harm than good, and discover best practices for efficient memory management.