Tagged articles

MAT

12 articles · Page 1 of 1
Java Captain
Java Captain
Sep 23, 2026 · Fundamentals

5 Common Java Memory Leak Scenarios and How to Detect Them

This article explains five common Java memory leak scenarios—long-lived collections, unclosed resources, ThreadLocal misuse, inner class references, and unregistered listeners—with code examples and recommends MAT and VisualVM for leak detection.

Garbage CollectionInner ClassJava
0 likes · 5 min read
5 Common Java Memory Leak Scenarios and How to Detect Them
liandk
liandk
Sep 22, 2026 · Backend Development

Java Memory Leak Deep Dive: 10 Hidden Scenarios, MAT Analysis & Prevention

This comprehensive guide covers 10 hidden Java memory leak scenarios, a 6-step MAT-based investigation SOP, code-level fixes for ThreadLocal and static collections, emergency mitigation tactics, and long-term prevention standards to eliminate recurring OOM crashes.

GCJVMJava
0 likes · 15 min read
Java Memory Leak Deep Dive: 10 Hidden Scenarios, MAT Analysis & Prevention
Xiaolin Talks Programming
Xiaolin Talks Programming
Aug 21, 2026 · Backend Development

Arthas in Production: Diagnosing Spring Boot CPU Spikes, Memory Leaks & Latency Spikes

This article demonstrates using Arthas to diagnose a Spring Boot service with 100% CPU, memory leaks, and latency spikes, showing step-by-step commands like dashboard, thread, heapdump, trace, and watch to pinpoint dead loops, unbounded caches, and missing SQL indexes, plus emergency hot-patching with redefine.

ArthasCPU profilingJVM troubleshooting
0 likes · 17 min read
Arthas in Production: Diagnosing Spring Boot CPU Spikes, Memory Leaks & Latency Spikes
Coder Trainee
Coder Trainee
Jun 26, 2026 · Backend Development

Java Performance Tuning: Practical Guide to Detecting and Fixing Memory Leaks

This article explains how to differentiate memory leaks from out‑of‑memory errors, identifies classic GC‑based leak signals, introduces a toolchain (jstat, jmap, MAT, Arthas, JProfiler), walks through a step‑by‑step investigation workflow, lists common leak patterns, presents a real‑world ThreadLocal leak case, and offers preventive measures such as monitoring, regular heap dumps, code review, and stress testing.

ArthasGCJava
0 likes · 9 min read
Java Performance Tuning: Practical Guide to Detecting and Fixing Memory Leaks
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMJava
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
Coder Life Journal
Coder Life Journal
Aug 22, 2025 · Operations

Diagnosing Java OOM, High CPU, Disk & Network Issues: A Practical Guide

This guide explains how to troubleshoot common online Java problems—including high CPU, OutOfMemoryError, disk I/O, and network latency—by using tools such as top, jps, jstack, jmap, MAT, df, and ping to pinpoint root causes like infinite loops, memory leaks, lock contention, and resource exhaustion.

CPUJavaMAT
0 likes · 8 min read
Diagnosing Java OOM, High CPU, Disk & Network Issues: A Practical Guide
vivo Internet Technology
vivo Internet Technology
Apr 23, 2025 · Backend Development

Optimizing Full GC Frequency in a Java Game Service Using MAT and GC Logs

By analyzing heap dumps with MAT and scrutinizing GC logs, the Vivo Internet Server Team identified thread‑local FutureAdapter and Jackson BufferRecycler objects and tuned promotion thresholds, cutting the Java game service’s Full GC occurrences from roughly 120 per day to about 30 and dramatically shortening pause times.

GC optimizationJVM TuningJava
0 likes · 17 min read
Optimizing Full GC Frequency in a Java Game Service Using MAT and GC Logs