Tagged articles

off-heap memory

9 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jun 21, 2026 · Backend Development

Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It

The article explains how off‑heap memory and mmap enable zero‑copy I/O for high‑performance Linux services, but because the JVM does not manage it, careless allocation or missing releases can cause off‑heap memory leaks that lead to OOM, and it provides concrete detection and mitigation techniques.

C#JavaLinux
0 likes · 24 min read
Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It
JavaEdge
JavaEdge
Aug 31, 2024 · Backend Development

How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service

This article details a step‑by‑step investigation of a Netty off‑heap memory leak that caused Nginx 5xx errors, covering background, alert analysis, multiple debugging stages, reflective monitoring, the root‑cause NPE fix, and verification in both local and production environments.

JavaNettyWebSocket
0 likes · 14 min read
How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service
Tencent Cloud Developer
Tencent Cloud Developer
Apr 21, 2022 · Backend Development

Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components

The guide reviews the essential requirements for Go local caching and compares seven open‑source caches—freecache, bigcache, fastcache, offheap, groupcache, ristretto, and go‑cache—while detailing the sharded, lock‑reduced designs of freecache, bigcache, fastcache, and offheap, and explains how off‑heap allocation or pointer‑free maps achieve near zero‑GC performance.

Backend DevelopmentFastCacheFreeCache
0 likes · 10 min read
Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components
Sanyou's Java Diary
Sanyou's Java Diary
Jan 16, 2022 · Backend Development

Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools

This article examines why Netty has become the preferred high‑performance server framework over Tomcat, covering Java I/O models, zero‑copy techniques, off‑heap memory usage, and Netty’s custom object‑pooling, and explains how these features enable handling thousands of concurrent connections efficiently.

IO ModelJava networkingNetty
0 likes · 8 min read
Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools
Top Architect
Top Architect
Jul 29, 2020 · Backend Development

Investigation of Excessive Off‑Heap Memory Usage After Migrating a Spring Boot Project to the MDP Framework

The article details a step‑by‑step forensic analysis of why a Spring Boot application migrated to the MDP framework consumed far more physical memory than its configured 4 GB heap, uncovering off‑heap allocations caused by native code, package‑scanning, and glibc memory‑pool behavior, and explains how limiting scan paths or upgrading Spring Boot resolves the issue.

JVMMemory DebuggingNative Memory
0 likes · 12 min read
Investigation of Excessive Off‑Heap Memory Usage After Migrating a Spring Boot Project to the MDP Framework
Architecture Digest
Architecture Digest
Jul 5, 2020 · Backend Development

Diagnosing Excessive Off‑Heap Memory Usage in a Spring Boot Application

The article details a step‑by‑step investigation of why a Spring Boot service migrated to the MDP framework consumed far more physical memory than its 4 GB heap, revealing native‑code allocations, memory‑pool behavior of glibc and tcmalloc, and how limiting MCC scan paths or upgrading Spring Boot resolves the off‑heap leak.

JavaNative MemoryPerformance debugging
0 likes · 11 min read
Diagnosing Excessive Off‑Heap Memory Usage in a Spring Boot Application