Tagged articles

OOM

127 articles · Page 2 of 2
Selected Java Interview Questions
Selected Java Interview Questions
Jun 26, 2020 · Backend Development

Why Executors Should Not Be Used to Create Thread Pools and How to Properly Configure ThreadPoolExecutor in Java

This article explains the definition of thread pools, why using Executors to create them is discouraged, details the ThreadPoolExecutor constructor and its parameters, compares different Executors factory methods, demonstrates OOM testing, and provides practical guidelines for defining safe thread‑pool parameters in Java.

ExecutorsOOMThread Pool
0 likes · 13 min read
Why Executors Should Not Be Used to Create Thread Pools and How to Properly Configure ThreadPoolExecutor in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2020 · Backend Development

Root Cause Analysis of OOM Caused by Misused HttpClient evictExpiredConnections and Keep‑Alive Issues

The article recounts a production OOM incident triggered by a misconfigured HttpClient evictExpiredConnections setting that caused uncontrolled thread growth, explains the underlying keep‑alive TCP behavior and NoHttpResponseException, and presents the corrective measures of using a singleton HttpClient and proper connection‑pool monitoring.

HttpClientKeep-AliveOOM
0 likes · 8 min read
Root Cause Analysis of OOM Caused by Misused HttpClient evictExpiredConnections and Keep‑Alive Issues
21CTO
21CTO
May 18, 2020 · Backend Development

Why You Should Avoid Executors and Build ThreadPoolExecutor Manually in Java

This article explains the definition of thread pools, why using Executors to create them is discouraged, details the ThreadPoolExecutor constructor and its parameters, compares different Executors factory methods, demonstrates OOM risks with tests, and provides practical guidelines for configuring safe thread pools.

ExecutorsOOMThreadPool
0 likes · 10 min read
Why You Should Avoid Executors and Build ThreadPoolExecutor Manually in Java
Efficient Ops
Efficient Ops
Mar 18, 2020 · Operations

Why Nginx OOMs Under Million-Connection Load and How to Fix It

During a million‑connection WebSocket stress test, four 32‑core, 128 GB Nginx servers repeatedly ran out of memory, prompting an investigation that revealed oversized proxy buffers as the root cause and showed that disabling buffering and tuning buffer sizes stabilizes memory usage.

OOMbackendhigh concurrency
0 likes · 11 min read
Why Nginx OOMs Under Million-Connection Load and How to Fix It
Youzan Coder
Youzan Coder
Feb 21, 2020 · Backend Development

Dubbo Service Discovery OOM Case Study and Memory Leak Analysis

A misconfigured Dubbo consumer created both Dubbo and REST invokers, causing thousands of failed REST invoker attempts that filled a synchronized List of ResteasyClient objects, exhausting the old generation heap and triggering OOM, which was fixed by replacing the List with a WeakHashMap‑based client map.

OOMRestProtocoljava
0 likes · 12 min read
Dubbo Service Discovery OOM Case Study and Memory Leak Analysis
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 23, 2019 · Big Data

Understanding and Resolving Spark OOM Issues: Memory Model, Causes, and Optimization Techniques

This article explains Spark's memory architecture, identifies common out‑of‑memory scenarios such as map‑stage and shuffle‑stage overloads, and provides practical solutions and performance‑tuning tips—including repartitioning, off‑heap storage, code optimizations, and key configuration parameters—to prevent and mitigate OOM errors in large‑scale data processing.

ConfigurationMemoryOOM
0 likes · 15 min read
Understanding and Resolving Spark OOM Issues: Memory Model, Causes, and Optimization Techniques
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.

ExecutorsOOMThreadPoolExecutor
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.

ExecutorsOOMThread Pool
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.

Memory ManagementOOMcache
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 PatternsOOMThreadLocal
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.

GreenplumMemory ManagementOOM
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.

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