Tagged articles
121 articles
Page 2 of 2
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
Architecture Digest
Architecture Digest
Dec 1, 2019 · Backend Development

Why Executors Should Not Be Used to Create Thread Pools: Understanding ThreadPoolExecutor and OOM Risks

This article explains the definition of thread pools, the pitfalls of using Executors to create them, details the ThreadPoolExecutor constructor and parameters, illustrates execution logic, demonstrates OOM scenarios with code examples, and provides guidelines for safely configuring thread pools in Java.

BackendExecutorsOOM
0 likes · 11 min read
Why Executors Should Not Be Used to Create Thread Pools: Understanding ThreadPoolExecutor and OOM Risks
Programmer DD
Programmer DD
Nov 28, 2019 · Backend Development

Why You Should Avoid Executors for Thread Pools and Use ThreadPoolExecutor Directly

This article explains the definition of Java thread pools, why creating them via Executors is discouraged, details the ThreadPoolExecutor constructor and parameters, compares different Executors factory methods, demonstrates OOM risks with tests, and offers guidelines for configuring thread pool size and rejection policies.

ExecutorsOOMThreadPoolExecutor
0 likes · 12 min read
Why You Should Avoid Executors for Thread Pools and Use ThreadPoolExecutor Directly
Senior Brother's Insights
Senior Brother's Insights
Nov 26, 2019 · Backend Development

Why Executors Should Be Avoided for ThreadPool Creation in Java

This article explains the definition of thread pools, the pitfalls of using Executors factory methods, details the ThreadPoolExecutor constructor parameters, compares different Executors implementations, demonstrates OOM tests, and offers guidelines for configuring thread pool parameters and rejection policies.

ExecutorsOOMThread Pool Configuration
0 likes · 10 min read
Why Executors Should Be Avoided for ThreadPool Creation in Java
JD Retail Technology
JD Retail Technology
Nov 20, 2019 · Mobile Development

iOS Memory Optimization and Jetsam Mechanism: Reducing OOM Crashes

This article explains how iOS manages low‑memory conditions through the Jetsam mechanism, analyzes the kernel code that decides which processes to kill, and provides practical image‑handling and autorelease‑pool techniques to lower the probability of Out‑Of‑Memory crashes in iOS apps.

JetsamMemory OptimizationOOM
0 likes · 12 min read
iOS Memory Optimization and Jetsam Mechanism: Reducing OOM Crashes
Meituan Technology Team
Meituan Technology Team
Nov 14, 2019 · Mobile Development

Probe Component for Fast Online OOM Diagnosis in Android Apps

The Probe component continuously monitors Android app memory, automatically captures trimmed HPROF snapshots when usage spikes, and analyzes them either on‑device with the HAHA library or on a server, enabling rapid OOM root‑cause localization, thread/FD tracking, and has lowered the rider app’s crash rate from 2‰ to roughly 0.02‰.

AndroidHprofOOM
0 likes · 22 min read
Probe Component for Fast Online OOM Diagnosis in Android Apps
Qunar Tech Salon
Qunar Tech Salon
Oct 30, 2019 · Backend Development

Diagnosing and Solving Node.js Out‑of‑Memory (OOM) Issues in Production

This article walks through a real‑world Node.js out‑of‑memory crash, explains how to detect the OOM killer via system logs, uses Heap Profiler and process.memoryUsage() to pinpoint memory growth, and presents a practical fix by throttling file‑write operations and improving monitoring.

Heap ProfilerNode.jsOOM
0 likes · 9 min read
Diagnosing and Solving Node.js Out‑of‑Memory (OOM) Issues in Production
MaGe Linux Operations
MaGe Linux Operations
Sep 7, 2019 · Fundamentals

How Linux Manages Memory: From Process Allocation to OOM and Cache

This article explores Linux kernel memory management, detailing process address space allocation, the behavior of the OOM killer, various memory mapping types (shared, private, anonymous), cache usage, manual and automatic memory reclamation, and related kernel parameters, providing practical insights and examples.

CacheMemory ManagementOOM
0 likes · 20 min read
How Linux Manages Memory: From Process Allocation to OOM and Cache
Beike Product & Technology
Beike Product & Technology
Sep 21, 2018 · Mobile Development

Optimizing Image Loading in the Beike Android App: Replacing Picasso with Glide to Prevent OOM

The article analyzes an OOM issue in the Beike Android app caused by large image memory usage, compares Picasso and Glide memory footprints, describes the refactoring effort required to switch libraries, explains Glide's two‑level caching mechanism, and highlights the performance and stability benefits for pre‑Android 8.0 devices.

AndroidGlideImage Loading
0 likes · 4 min read
Optimizing Image Loading in the Beike Android App: Replacing Picasso with Glide to Prevent OOM
Java Backend Technology
Java Backend Technology
Oct 24, 2017 · Fundamentals

ThreadLocal OOM? Exploring Singleton Pitfalls in Java Multithreading

This article examines common Java singleton implementations—including eager, thread‑safe lazy, double‑checked locking, and static inner‑class approaches—explaining their requirements, potential memory‑leak pitfalls such as ThreadLocal‑induced OOM, and how improper usage in multithreaded environments can lead to unexpected instance creation and performance issues.

Design PatternsOOMSingleton
0 likes · 6 min read
ThreadLocal OOM? Exploring Singleton Pitfalls in Java Multithreading
Qunar Tech Salon
Qunar Tech Salon
Oct 19, 2017 · Databases

Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices

This article explains why Greenplum can encounter out‑of‑memory (OOM) errors, lists the typical causes, and provides detailed recommendations for memory‑related OS and database parameters, statement_mem settings, and the proper use of Greenplum resource queues to achieve stable and efficient cluster operation.

Database ConfigurationGreenplumMemory Management
0 likes · 13 min read
Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices
Efficient Ops
Efficient Ops
May 14, 2017 · Fundamentals

Understanding Linux Memory Management: Allocation, OOM, and Cache

This article explains Linux kernel memory management, covering process address space layout, memory allocation methods, OOM killer behavior, where different types of memory reside, and both manual and automatic memory reclamation techniques, illustrated with diagrams and command examples.

CacheMemory ManagementOOM
0 likes · 18 min read
Understanding Linux Memory Management: Allocation, OOM, and Cache