Tagged articles
6 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Dec 22, 2025 · Fundamentals

How Go’s Runtime Manages Memory: From Kernel SLAB to mheap and mcache

This article explains Go's memory allocator by comparing it with the Linux kernel SLAB allocator, detailing the page‑heap (mheap), span structures, per‑P caches (mcache), and the mallocgc path for small and large allocations, while showing key source code snippets and diagrams.

GoMemory ManagementRuntime
0 likes · 18 min read
How Go’s Runtime Manages Memory: From Kernel SLAB to mheap and mcache
Qunar Tech Salon
Qunar Tech Salon
Jan 13, 2022 · Databases

Root Cause Analysis of MySQL Memory Spike Caused by Excessive dentry Allocation from Mis‑configured yum makecache Cron

The article details a MySQL memory‑usage incident at Qunar where abnormal slab memory, especially dentry allocation, caused a rapid increase in used memory after a mis‑configured yum makecache cron job, and explains the investigation steps, Linux memory concepts, diagnostic commands, and the corrective actions taken.

DentryLinuxMemory Management
0 likes · 14 min read
Root Cause Analysis of MySQL Memory Spike Caused by Excessive dentry Allocation from Mis‑configured yum makecache Cron
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2020 · Operations

Unraveling Linux Memory Usage: From free to slab and PageTables

This article explains why the memory reported by ps RSS differs from the free command, walks through interpreting free -m output, demonstrates clearing caches, and shows how to account for process RSS, slab allocations, and PageTables to reconcile total used memory on Linux systems.

Memory ManagementPageTablesRSS
0 likes · 10 min read
Unraveling Linux Memory Usage: From free to slab and PageTables