Tagged articles
10 articles
Page 1 of 1
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 6, 2023 · Mobile Development

Memory Monitoring and Leak Detection Practices in NetEase Cloud Music Android App

The NetEase Cloud Music Android team built a comprehensive memory‑monitoring system—combining LeakCanary and KOOM for leak detection, instrumented image loading for large‑bitmap tracking, periodic heap and thread metrics collection, and automated ticket generation—to identify, rank, and resolve leaks, oversized resources, and thread‑related OOM risks across development and production.

AndroidKOOMLeakCanary
0 likes · 15 min read
Memory Monitoring and Leak Detection Practices in NetEase Cloud Music Android App
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 17, 2021 · Mobile Development

Building a LeakCanary‑Style Memory Leak Detector for Flutter

This article analyzes why Flutter apps suffer from high memory usage, identifies BuildContext and State as primary leak sources, and proposes a comprehensive, automated detection tool inspired by Android LeakCanary that accurately and efficiently finds memory leaks in production Flutter applications.

BuildContextFlutterLeakCanary
0 likes · 16 min read
Building a LeakCanary‑Style Memory Leak Detector for Flutter
Sohu Tech Products
Sohu Tech Products
Oct 6, 2021 · Mobile Development

Android Memory Optimization: Causes, Tools, Image Strategies, and Online OOM Monitoring with KOOM

This article explains why Android memory optimization is needed, introduces background concepts such as garbage collection and memory leaks, reviews common tools like Memory Profiler, MAT and LeakCanary, details image‑related memory reduction techniques, and presents the open‑source KOOM framework for online OOM detection and analysis.

AndroidKOOMLeakCanary
0 likes · 23 min read
Android Memory Optimization: Causes, Tools, Image Strategies, and Online OOM Monitoring with KOOM
vivo Internet Technology
vivo Internet Technology
Mar 24, 2021 · Mobile Development

How LeakCanary 2.0 Detects Android Memory Leaks: Architecture and Hprof Parsing Explained

This article provides a detailed technical analysis of LeakCanary 2.0, covering its Kotlin‑based integration, the new self‑implemented Hprof parser, detection workflow, core classes such as AppWatcher and ObjectWatcher, graph indexing, and the algorithm used to locate the shortest GC‑root leak path.

AndroidHeap AnalysisHprof
0 likes · 15 min read
How LeakCanary 2.0 Detects Android Memory Leaks: Architecture and Hprof Parsing Explained
Sohu Tech Products
Sohu Tech Products
May 13, 2020 · Mobile Development

Analyzing and Fixing Memory Leaks in Android DialogFragment

This article examines why DialogFragment can cause memory leaks in Android apps, analyzes the role of HandlerThread messages and Looper processing, and presents several mitigation strategies including avoiding dismiss listeners, using weak references, and custom fragment implementations to safely release resources.

DialogFragmentHandlerLeakCanary
0 likes · 11 min read
Analyzing and Fixing Memory Leaks in Android DialogFragment
JD Retail Technology
JD Retail Technology
Dec 6, 2019 · Mobile Development

Android OOM Analysis and the Shooter Offline Memory Profiling Tool

The article explains common Android Out‑Of‑Memory scenarios, traditional analysis methods, and introduces the Shooter offline memory analysis system that parses hprof snapshots, builds dominator trees, computes shallow and retained sizes, and visualizes reference chains to help developers locate memory leaks and OOM causes.

AndroidHeap AnalysisLeakCanary
0 likes · 17 min read
Android OOM Analysis and the Shooter Offline Memory Profiling Tool
WeChat Client Technology Team
WeChat Client Technology Team
Dec 28, 2018 · Mobile Development

How ResourceCanary Automates Android Activity Leak and Bitmap Redundancy Detection

ResourceCanary, a Matrix sub‑module, automatically detects Activity memory leaks and redundant Bitmap objects in large‑scale Android apps by monitoring lifecycle callbacks, leveraging WeakReference queues, parsing Hprof dumps, and providing concise reference chains for fast debugging and performance optimization.

AndroidBitmapHprof
0 likes · 15 min read
How ResourceCanary Automates Android Activity Leak and Bitmap Redundancy Detection