Tagged articles

OOM prevention

5 articles · Page 1 of 1
Architecture Digest
Architecture Digest
Aug 18, 2026 · Backend Development

How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights

Sending 10 million marketing SMS within an hour forces careful thread‑pool design: avoid unbounded queues that cause OOM, choose a bounded ThreadPoolExecutor, dynamically tune core/max sizes, use CallerRunsPolicy for natural back‑pressure, and add persistence and compensation mechanisms to guarantee reliability.

BackpressureJava concurrencyOOM prevention
0 likes · 8 min read
How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 28, 2026 · Cloud Native

Production-Grade Spring Boot Containerization: Layered Images, JVM Tuning & OOM Debugging

A comprehensive guide to running Spring Boot reliably on Kubernetes covering layered Docker image builds, JVM container-aware memory and CPU configuration, OOMKilled root-cause analysis using Native Memory Tracking and heap dumps, Prometheus monitoring integration, and Cloud Native Buildpacks for automated CI/CD pipelines.

BuildpacksCI/CDDocker
0 likes · 18 min read
Production-Grade Spring Boot Containerization: Layered Images, JVM Tuning & OOM Debugging
Su San Talks Tech
Su San Talks Tech
Aug 30, 2024 · Backend Development

Prevent Data Loss in Java Thread Pools When Services Crash

This article explains Java thread pools, their advantages, internal mechanics, common pitfalls such as oversized queues, excessive threads, and data loss on crashes, and presents a persistence‑based solution using database‑stored tasks and scheduled retries to ensure no data is lost when services go down.

JavaOOM preventionbackend-development
0 likes · 8 min read
Prevent Data Loss in Java Thread Pools When Services Crash
Baidu Geek Talk
Baidu Geek Talk
Nov 21, 2022 · Mobile Development

How Baidu App Prevents OOM Crashes with Real‑Time Memory Monitoring and Prediction

This article details Baidu's multi‑step memory‑control solution for its iOS app, covering background challenges, real‑time memory monitoring, page‑level memory prediction, water‑level determination, frequency control, proactive degradation, and code examples that together reduce OOM incidents on low‑end devices.

Memory ManagementOOM preventionapp performance
0 likes · 17 min read
How Baidu App Prevents OOM Crashes with Real‑Time Memory Monitoring and Prediction