Tagged articles
memory leak detection
18 articles · Page 1 of 1
The article describes three automated feedback loops—performance, memory leak detection, and reliability—for a chat assistant Android app, using on-device tracing, heap analysis, and black-box testing to continuously measure, diagnose, and guard against regressions on real devices.
AndroidPerfettoatrace
0 likes · 22 min read

The article introduces SysOM AI Profiling, a zero‑intrusive, cloud‑native performance observation and diagnosis solution for AI workloads that spans training to inference, single‑GPU to multi‑GPU clusters, and Python to GPU kernel layers, helping users pinpoint low GPU utilization, memory leaks, and communication bottlenecks.
AI profilingCloud NativeGPU utilization
0 likes · 14 min read

This article details six HarmonyOS diagnostic tools—GWPAsan for buffer overflows, AppFreeze enhanced logs for main-thread stalls, JSLeakWatcher for ArkTS memory leaks, AppFreeze-Analysis for AI-driven freeze diagnosis, APMS for proactive alerting, and DevEco Profiler for native memory leaks—explaining each tool's mechanism, core value, and target scenarios to help developers quickly resolve stability issues.
AppFreezeDevEco ProfilerGWPAsan
0 likes · 10 min read

This article details three clustering rules — shortest reference chain, name-plus-reference chain, and property-plus-reference chain — for analyzing ArkTS memory snapshots, enabling developers to automatically group 100,000+ objects and identify leak sources by retained size and allocation site.
ArkTSHarmonyOSJSNativePointer
0 likes · 7 min read

This guide introduces the LocalHandle leak detection tool for HarmonyOS ArkTS, which uses smart instrumentation to identify memory leaks at creation time by checking for active handle scopes, reducing debugging from days to minutes with 100% accuracy and direct code-line navigation in DevEco Studio.
ArkTSDebugging ToolsDevEco Studio
0 likes · 15 min read

This article recounts the three‑week, single‑developer journey of building NMLeak—a 5,881‑line Android native memory‑leak detection library—by manually splitting the architecture, applying AI‑assisted module coding and spec‑driven design, and highlights which practices succeeded and where human oversight remains essential.
AI CodingAndroidCounting Bloom Filter
0 likes · 16 min read

This article explains why traditional monitoring tools often fail in production, introduces Arthas as a lightweight, non‑intrusive Java diagnostic solution, and walks through five real‑world scenarios—slow interfaces, thread blockage, memory leaks, hot‑fixes, and data inconsistency—showing exact commands, code snippets, and visualizations to quickly locate and resolve root causes.
ArthasJava debuggingThread Analysis
0 likes · 11 min read

The article introduces GPUprobe, an eBPF‑based tool that provides lightweight, continuous, application‑level monitoring of CUDA memory allocation, leaks, and kernel launches, compares it with NSight Systems and DCGM, and demonstrates near‑zero overhead integration with Prometheus and Grafana through detailed code examples and real‑world output analysis.
GPU monitoringGrafanaPrometheus
0 likes · 13 min read

This article provides a comprehensive analysis of Netty's memory‑leak detection mechanism, covering the design principles, leak‑aware buffers, reference handling, sampling strategies, detection levels, and the internal models that enable accurate identification of unreleased native memory in both pooled and unpooled ByteBuf allocations.
JavaNettyReference Counting
0 likes · 44 min read

This article explains common memory errors, lists kernel and user‑space event sources for tracing memory activity, and demonstrates how to use BPFTrace, kprobes, and USDT probes to detect out‑of‑bounds accesses, use‑after‑free, memory leaks, OOM killer events, mmap/brk usage, shared memory operations, page faults, and reclaim processes on Linux.
OOM killerbpftracememory debugging
0 likes · 28 min read

This article presents a comprehensive overview of intelligent test analysis techniques—including contract‑based validation point generation, time‑sliced C++ memory‑leak detection with DTW and CART, dynamic‑threshold performance diff, transformer‑based test‑case completion, and visual UI recall—demonstrating how data, algorithms, and engineering combine to improve testing accuracy and efficiency.
AI testingContract Testingmemory leak detection
0 likes · 11 min read

The article outlines Baidu’s intelligent testing framework, detailing five advanced techniques—contract‑testing‑driven automatic assertion generation, time‑sliced C++ memory‑leak detection via DTW and decision trees, dynamic‑threshold performance diff detection, machine‑translation‑based functional assertion completion, and visual UI diff with and without reference—each boosting accuracy and efficiency in test analysis.
Contract Testingmachine learning QAmemory leak detection
0 likes · 10 min read

This article outlines systematic methods for diagnosing subtle performance issues by leveraging detailed data analysis of CPU, memory, disk I/O, and network metrics, and presents real-world case studies that demonstrate how targeted profiling and optimization can reveal and resolve hidden bottlenecks in complex systems.
CPU analysisNetwork Monitoringdisk I/O
0 likes · 11 min read

This guide introduces JVisualVM, explains its core features and plugins, demonstrates how to simulate and analyze memory leaks with sample code, and shows step‑by‑step remote monitoring of a Tomcat server using JMX.
JVMJVisualVMJava profiling
0 likes · 10 min read

This article presents a comprehensive guide to Java performance optimization, covering common code pitfalls, CPU and memory analysis techniques, disk and network I/O troubleshooting, and a collection of essential Linux commands, enabling engineers to pinpoint and resolve critical bottlenecks efficiently.
CPU optimizationJVM tuningJava performance
0 likes · 24 min read

MTHawkeye is Meitu’s iOS debugging and performance‑optimization toolkit that provides a three‑layer architecture—foundation, UI foundation, and plugin layers—to assist developers across development, testing, and production by offering memory leak detection, main‑thread profiling, CPU, network, graphics, storage monitoring, and integrated FLEX utilities.
APMNetwork MonitoringPerformance Optimization
0 likes · 8 min read

This article introduces Tencent's OOMDetector, an iOS memory‑monitoring component that records allocation stacks, detects leaks, and uses optimized hooking, stack compression, and mmap‑based dumping to provide low‑overhead, on‑device analysis of out‑of‑memory crashes and memory‑leak issues.
OOM detectionPerformance OptimizationiOS
0 likes · 11 min read


ITPUBSep 27, 2016 · Backend Development
This article explains how to implement a memory‑leak detection subsystem for Linux C++ programs by overloading the global new/delete operators, recording allocation sites with file and line information, handling mismatched deletions, supporting dynamic monitoring, and addressing nested‑delete and mutex re‑entrancy issues.
C++LinuxMutex
0 likes · 30 min read
