Tagged articles
950 articles
Page 4 of 10
Deepin Linux
Deepin Linux
Jul 17, 2024 · Fundamentals

Understanding Page Fault Handling and Virtual Memory Management in uCore OS

This article explains the principles of virtual memory, the data structures and functions used in uCore to manage page faults, and how the operating system handles demand paging, page swapping, and invalid accesses through detailed code examples and workflow descriptions.

Memory ManagementOperating SystemPage Fault
0 likes · 23 min read
Understanding Page Fault Handling and Virtual Memory Management in uCore OS
JavaEdge
JavaEdge
Jul 8, 2024 · Backend Development

Master Java Metaspace: Tuning Metadata GC Threshold and JVM Flags

This article explains Java Metaspace and metadata GC thresholds, compares PermGen with Metaspace, and provides detailed JVM flag configurations—including size settings and compressed pointer options—to help developers optimize memory usage and garbage‑collection performance.

Garbage CollectionJavaMemory Management
0 likes · 8 min read
Master Java Metaspace: Tuning Metadata GC Threshold and JVM Flags
Java Tech Enthusiast
Java Tech Enthusiast
Jun 29, 2024 · Fundamentals

Understanding Memory Allocation in C

The article explains C’s memory allocation, detailing how functions like malloc obtain heap space, the role of system calls such as brk, the distinction between stack and heap, address layout, fragmentation challenges, and practical implications for efficient dynamic memory management.

C programmingHeapMemory Fragmentation
0 likes · 5 min read
Understanding Memory Allocation in C
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 26, 2024 · Fundamentals

Mastering Java G1 and ZGC: Deep Dive into Modern Garbage Collectors

This article provides a comprehensive overview of Java's G1 and ZGC garbage collectors, explaining their memory layout, internal structures such as regions, card tables, and RSet, detailing Young and Mixed GC processes, three‑color marking, SATB, incremental updates, and the low‑pause design of ZGC.

G1Garbage CollectionJVM
0 likes · 30 min read
Mastering Java G1 and ZGC: Deep Dive into Modern Garbage Collectors
php Courses
php Courses
Jun 14, 2024 · Backend Development

Understanding PHP Generators: Efficient Data Iteration and Memory Optimization

This article explains the concept, operation, and advantages of PHP generators, demonstrating how they provide memory‑efficient, lazy‑evaluated iteration for large data sets and streams, and includes practical code examples and best‑practice tips for backend developers.

Backend DevelopmentGeneratorsIterators
0 likes · 9 min read
Understanding PHP Generators: Efficient Data Iteration and Memory Optimization
DataFunSummit
DataFunSummit
Jun 10, 2024 · Artificial Intelligence

Xiaomi Agent Technology: Architecture, Prompt Management, and Evaluation

This article presents Xiaomi's work on LLM‑based Agent technology, covering its perception‑thinking‑action pipeline, technical framework, prompt management, executor and API platform, workflow, optimization strategies, evaluation metrics, and future directions for AI assistants.

AI AssistantLLMMemory Management
0 likes · 17 min read
Xiaomi Agent Technology: Architecture, Prompt Management, and Evaluation
Python Programming Learning Circle
Python Programming Learning Circle
May 14, 2024 · Fundamentals

Python Frequently Asked Questions: Indentation, Float Precision, Immutability, and Core Language Design

This article answers twenty‑seven common Python questions covering why indentation is used for block grouping, the reasons behind surprising floating‑point results, the immutability of strings, the explicit use of self, the absence of assignment in expressions, and many other design choices that shape Python’s core behavior.

FAQMemory ManagementPython
0 likes · 28 min read
Python Frequently Asked Questions: Indentation, Float Precision, Immutability, and Core Language Design
Huolala Tech
Huolala Tech
May 14, 2024 · Mobile Development

How We Reduced Android OOM Crashes by 99%: Mobile Memory Optimization Secrets

Over the past six months we tackled severe Android memory issues—high OOM crash rates, memory leaks, and large object usage—by implementing systematic profiling, targeted page optimizations, Java and native leak detection tools, and robust monitoring mechanisms, ultimately reducing OOM crashes from 0.8‰ to 0.01‰ and improving app stability.

AndroidMemory ManagementOOM
0 likes · 26 min read
How We Reduced Android OOM Crashes by 99%: Mobile Memory Optimization Secrets
Liangxu Linux
Liangxu Linux
May 9, 2024 · Fundamentals

How mem_malloc Eliminates Fragmentation in MCU RAM – A Complete Guide

This article introduces the open‑source mem_malloc module for microcontrollers, explains its fragmentation‑free allocation algorithm, shows how to integrate and compile it on an IOT development board, and provides detailed test code and results illustrating efficient RAM usage.

C programmingMemory Managementfragmentation
0 likes · 8 min read
How mem_malloc Eliminates Fragmentation in MCU RAM – A Complete Guide
FunTester
FunTester
May 8, 2024 · Fundamentals

How Garbage Collection Impacts Performance and How to Optimize It

This article explains the fundamentals of garbage collection, compares manual and automatic memory management, outlines common GC algorithms, and provides practical guidance on performance analysis, tool selection, and optimization techniques to improve application responsiveness and resource utilization.

GC AlgorithmsGarbage CollectionMemory Management
0 likes · 22 min read
How Garbage Collection Impacts Performance and How to Optimize It
MaGe Linux Operations
MaGe Linux Operations
May 4, 2024 · Databases

Unlocking Redis Memory: How Its Internal Model Impacts Performance

This article explains Redis's memory model—including memory statistics, allocation, internal data structures, object types, and encoding—while showing practical examples for estimating usage, optimizing consumption, and troubleshooting fragmentation in high‑concurrency environments.

Data StructuresMemory Managementjemalloc
0 likes · 34 min read
Unlocking Redis Memory: How Its Internal Model Impacts Performance
Ops Development & AI Practice
Ops Development & AI Practice
May 3, 2024 · Backend Development

Boost Go Performance with the Experimental arena Package: Design, Usage, and Benchmarks

This article explores Go's experimental arena library, detailing its design principles, core features such as fast allocation and memory reuse, suitable use cases like object pools and game development, provides a practical code example, and discusses performance benefits and limitations for high‑concurrency applications.

ArenaGoMemory Management
0 likes · 5 min read
Boost Go Performance with the Experimental arena Package: Design, Usage, and Benchmarks
Open Source Linux
Open Source Linux
Apr 29, 2024 · Fundamentals

Unlocking DPDK Memory Management: How Hugepages Boost Performance

This article consolidates DPDK 17.11 source‑code notes to explain the library’s memory‑management subsystem, covering hugepage concepts, shared configuration mapping, NUMA‑aware allocation, and the custom allocator that enables high‑throughput packet processing on Linux.

DMADPDKMemory Management
0 likes · 40 min read
Unlocking DPDK Memory Management: How Hugepages Boost Performance
Liangxu Linux
Liangxu Linux
Apr 24, 2024 · Fundamentals

Unlocking Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explains Linux memory fundamentals, address space layout, fragmentation, the buddy and slab allocators, kernel and user‑mode memory pools, DMA handling, common programming pitfalls, and practical tools for monitoring memory usage.

DMAMemory ManagementSlab Allocator
0 likes · 19 min read
Unlocking Linux Memory: From Basics to Advanced Allocation Strategies
Liangxu Linux
Liangxu Linux
Apr 18, 2024 · Fundamentals

Mastering Linux Memory Management: Structures, Allocation Algorithms, and Common Pitfalls

This article provides a comprehensive guide to Linux memory management, covering memory fundamentals, address spaces, MMU translation, segmentation and paging, the buddy and slab allocation algorithms, kernel and user memory pools, typical usage scenarios, common bugs, and practical tools for monitoring and debugging memory usage.

DMAMemory ManagementSlab Allocator
0 likes · 25 min read
Mastering Linux Memory Management: Structures, Allocation Algorithms, and Common Pitfalls
Ops Development & AI Practice
Ops Development & AI Practice
Apr 15, 2024 · Backend Development

Boost Go Performance with sync.Pool: Practical Guide and UML Modeling

This article explains how Go's sync.Pool can reduce memory allocations and garbage‑collection overhead in high‑performance applications, provides step‑by‑step usage examples, demonstrates a byte‑buffer pool, shows performance benefits, and visualizes the mechanism with UML class and sequence diagrams.

GoMemory ManagementPerformance Optimization
0 likes · 7 min read
Boost Go Performance with sync.Pool: Practical Guide and UML Modeling
High Availability Architecture
High Availability Architecture
Apr 11, 2024 · Backend Development

Understanding Netty's Core Architecture, I/O Models, Memory Management, and High‑Performance Components

This article provides a comprehensive overview of Netty's core layers, protocol support, transport services, logical architecture, various I/O models, packet framing techniques, custom protocol design, write‑and‑flush behavior, off‑heap memory management, and high‑performance data structures such as FastThreadLocal and HashedTimerWheel.

IO ModelJavaMemory Management
0 likes · 26 min read
Understanding Netty's Core Architecture, I/O Models, Memory Management, and High‑Performance Components
Yum! Tech Team
Yum! Tech Team
Apr 9, 2024 · Backend Development

Optimizing High‑Concurrency Menu Services with Go sync.Pool Object Pool

This article explains the principles of object pools, details the internal implementation of Go's sync.Pool, and demonstrates through benchmarks how using an object pool can dramatically reduce memory allocation and latency for high‑traffic menu services in a restaurant ordering application.

GoMemory Managementbenchmark
0 likes · 13 min read
Optimizing High‑Concurrency Menu Services with Go sync.Pool Object Pool
Sanyou's Java Diary
Sanyou's Java Diary
Apr 8, 2024 · Fundamentals

What Are the 7 Core Garbage Collection Algorithms and When to Use Them?

This article explains why garbage collection (GC) is essential, defines key GC terminology, compares performance metrics, and provides a detailed overview of seven common GC algorithms—including mark‑sweep, reference counting, copying, mark‑compact, conservative, generational, and incremental GC—along with their advantages, disadvantages, and typical improvements.

GC AlgorithmsMemory Managementsoftware fundamentals
0 likes · 47 min read
What Are the 7 Core Garbage Collection Algorithms and When to Use Them?
Tencent Cloud Developer
Tencent Cloud Developer
Apr 3, 2024 · Fundamentals

Seven Common GC Algorithms: Principles, Comparisons, and Optimizations

The article surveys seven common garbage‑collection algorithms—Mark‑Sweep, Reference Counting, Copying, Mark‑Compact, Conservative, Generational, and Incremental/Tri‑color—explaining their principles, strengths, weaknesses, evaluation criteria such as throughput and pause time, and practical optimizations, emphasizing that the best choice depends on specific application needs.

GC AlgorithmsGarbage CollectionGenerational GC
0 likes · 42 min read
Seven Common GC Algorithms: Principles, Comparisons, and Optimizations
Liangxu Linux
Liangxu Linux
Mar 30, 2024 · Fundamentals

Essential Linux Kernel Q&A: Architecture, Memory Management, and Process Basics

This comprehensive Q&A explains Linux system composition, kernel placement, core subsystems, address translation, paging structures, process concepts, scheduling algorithms, interrupt handling, system calls, synchronization, deadlock avoidance, and the virtual file system, providing a solid foundation for operating‑system fundamentals.

InterruptsMemory ManagementOperating System
0 likes · 19 min read
Essential Linux Kernel Q&A: Architecture, Memory Management, and Process Basics
Java Captain
Java Captain
Mar 25, 2024 · Fundamentals

Understanding the Underlying Implementation of Java String Immutability

This article explains why Java's String class is immutable, detailing the benefits such as thread safety, cached hash codes, and string pooling, and describes the internal mechanisms—including a private final char array, creation of new objects on concatenation, and the intern method—that enforce this immutability.

JavaMemory ManagementString
0 likes · 5 min read
Understanding the Underlying Implementation of Java String Immutability
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 21, 2024 · Fundamentals

Mastering JVM Memory: From Heap Layout to Garbage Collection Tuning

This article provides a comprehensive guide to JVM internals, covering runtime data areas, heap segmentation, object allocation, reference types, class loading phases, garbage collection algorithms, collector choices across JDK versions, performance tuning commands, and practical troubleshooting techniques for production Java applications.

Garbage CollectionJVMMemory Management
0 likes · 38 min read
Mastering JVM Memory: From Heap Layout to Garbage Collection Tuning
vivo Internet Technology
vivo Internet Technology
Mar 19, 2024 · Backend Development

Java 8 Memory Management and Garbage Collection Analysis

The article offers a thorough overview of Java 8 memory management, detailing JVM memory regions, object eligibility, major garbage‑collection algorithms and generational models, comparing Serial, Parallel, CMS and G1 collectors, and presenting practical heap‑dump analysis techniques for diagnosing leaks and performance issues.

GC AlgorithmsHeap AnalysisJVM
0 likes · 29 min read
Java 8 Memory Management and Garbage Collection Analysis
Su San Talks Tech
Su San Talks Tech
Mar 18, 2024 · Backend Development

6 Common Java OOM Scenarios and How to Prevent Them

This article explores six typical OutOfMemoryError situations in Java—including heap, stack, direct memory, GC overhead, and metaspace issues—explains their root causes, provides reproducible code examples, and offers practical tips to avoid or mitigate each problem.

JVMJavaMemory Management
0 likes · 8 min read
6 Common Java OOM Scenarios and How to Prevent Them
Architect
Architect
Mar 15, 2024 · Databases

How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases

This article dissects Redis's memory architecture, explains each memory component, walks through object encoding rules, buffer handling, fragmentation, and child‑process memory, then presents two production incidents with step‑by‑step analysis and concrete optimization actions to prevent future memory alarms.

Case StudyMemory ManagementPerformance Optimization
0 likes · 27 min read
How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases
IT Services Circle
IT Services Circle
Mar 8, 2024 · Fundamentals

Interview Q&A: C Language Basics, Algorithms, Memory Management, and System Programming

This article provides concise explanations and code examples for common interview questions covering C global variable defaults, binary representations, finding top‑k elements, double‑pointer and binary search techniques, OOP concepts in C, differences between C++ class and struct, UDP packet limits, TCP read() return values, memory leaks in infinite loops, and resource cleanup on process exit.

CMemory ManagementOperating Systems
0 likes · 18 min read
Interview Q&A: C Language Basics, Algorithms, Memory Management, and System Programming
MaGe Linux Operations
MaGe Linux Operations
Feb 29, 2024 · Backend Development

Mastering JVM Heap Settings in Docker: Best Parameters Across JDK Versions

This guide explains how JVM determines heap size on physical machines versus containers, compares behavior of different JDK releases, and provides concrete Docker commands and JVM flags—such as -Xms/-Xmx, -XX:+UseCGroupMemoryLimitForHeap, and MaxRAMPercentage—to reliably control memory usage in containerized Java applications.

DockerJVMJava
0 likes · 11 min read
Mastering JVM Heap Settings in Docker: Best Parameters Across JDK Versions
php Courses
php Courses
Feb 26, 2024 · Backend Development

PHP Memory Management Functions: memory_get_usage, memory_get_peak_usage, gc_collect_cycles, and memory_limit

This article explains PHP's key memory management functions—including memory_get_usage, memory_get_peak_usage, gc_collect_cycles, and the memory_limit setting—providing usage syntax, examples, and guidance on optimizing script performance and preventing memory‑related issues.

Backend DevelopmentGarbage CollectionMemory Management
0 likes · 4 min read
PHP Memory Management Functions: memory_get_usage, memory_get_peak_usage, gc_collect_cycles, and memory_limit
DeWu Technology
DeWu Technology
Feb 5, 2024 · Fundamentals

Understanding Dart VM Garbage Collection and Memory Management

The article explains Dart VM’s generational garbage collection, detailing object allocation, the young‑generation Scavenge copying collector, old‑generation Mark‑Sweep and Mark‑Compact algorithms, safepoints, write‑barrier mechanics, debugging a write‑protect crash, and the importance of logging for memory‑management analysis.

DARTGC AlgorithmsGarbage Collection
0 likes · 33 min read
Understanding Dart VM Garbage Collection and Memory Management
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 2, 2024 · Fundamentals

Linux Shared Memory (shmem) Deep Dive: Architecture, Implementation, and Practice

Linux’s shmem subsystem provides hybrid anonymous/file‑backed pages that enable diverse shared‑memory scenarios—parent‑child communication, IPC, tmpfs, Android ashmem, and memfd—by using APIs such as shmem_file_setup, handling page faults through cache and swap mechanisms, and employing a specialized reclamation process to manage memory efficiently.

Linux kernelMemory ManagementVirtual Memory
0 likes · 10 min read
Linux Shared Memory (shmem) Deep Dive: Architecture, Implementation, and Practice
DataFunSummit
DataFunSummit
Jan 22, 2024 · Artificial Intelligence

Improving Efficiency of Large‑Scale AI Model Training, Fine‑tuning, and Deployment with Colossal‑AI

This article introduces Colossal‑AI, an open‑source platform that tackles the challenges of training, fine‑tuning, and deploying massive AI models by leveraging efficient memory management, N‑dimensional parallelism, and high‑performance inference to dramatically reduce cost and improve scalability across thousands of GPUs.

AI InfrastructureColossal-AIDistributed Training
0 likes · 21 min read
Improving Efficiency of Large‑Scale AI Model Training, Fine‑tuning, and Deployment with Colossal‑AI
Java Tech Enthusiast
Java Tech Enthusiast
Jan 4, 2024 · Databases

Redis Simple Dynamic String (SDS) Implementation Overview

Redis implements its own Simple Dynamic String (SDS) instead of plain C strings because SDS stores length for O(1) queries, pre‑allocates extra space and lazily reuses freed bytes, prevents buffer overflows, handles binary data, and uniformly backs all string keys, values and container elements.

C languageMemory ManagementSDS
0 likes · 8 min read
Redis Simple Dynamic String (SDS) Implementation Overview
Test Development Learning Exchange
Test Development Learning Exchange
Jan 1, 2024 · Fundamentals

Handling Circular References and Memory Leaks in Python with weakref and gc Modules

This article explains how circular references cause memory leaks in Python, describes the role of reference counting and the cyclic garbage collector, and provides practical examples using the weakref and gc modules to create weak references, detect, and manually manage cyclic garbage.

Circular ReferencesGarbage CollectionMemory Management
0 likes · 6 min read
Handling Circular References and Memory Leaks in Python with weakref and gc Modules
Code Ape Tech Column
Code Ape Tech Column
Dec 31, 2023 · Backend Development

How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server

This article explains how to estimate capacity, choose appropriate garbage collectors, and configure JVM memory settings—including heap size, young generation, thread stack, and GC options—for a service that processes one million login requests per day on a node with 8 GB of RAM, providing step‑by‑step guidance and example command lines.

BackendGC tuningJVM
0 likes · 25 min read
How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server
Bilibili Tech
Bilibili Tech
Dec 29, 2023 · Artificial Intelligence

Performance Optimization of Bilibili's Online Inference Service for the Effect Advertising Engine

To cope with soaring traffic on Bilibili’s effect‑advertising engine, the team systematically measured latency, eliminated redundant Redis calls, switched JSON to Protobuf, applied branch‑prediction hints, loop‑unrolling and AVX256 SIMD, introduced object‑pooling and an inverted‑index request format, cutting CPU usage by 21 % and boosting peak throughput 13 %.

CCPUMemory Management
0 likes · 21 min read
Performance Optimization of Bilibili's Online Inference Service for the Effect Advertising Engine
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

7 Proven Techniques to Boost Embedded System Reliability

This article presents seven practical, long‑term strategies—such as ROM filling, CRC checks, RAM validation, stack monitoring, MPU usage, robust watchdog design, and avoiding volatile memory allocation—to help embedded engineers build more reliable firmware and catch abnormal behavior early.

MPUMemory ManagementReliability
0 likes · 9 min read
7 Proven Techniques to Boost Embedded System Reliability
php Courses
php Courses
Dec 20, 2023 · Backend Development

File Caching and Memory Management in PHP Development

This article explains how to implement file caching and effective memory management in PHP, providing step‑by‑step instructions and code examples for creating cache directories, generating cache filenames, checking and clearing caches, and releasing variables and objects to prevent memory leaks.

BackendCode ExamplesMemory Management
0 likes · 5 min read
File Caching and Memory Management in PHP Development
MaGe Linux Operations
MaGe Linux Operations
Dec 17, 2023 · Fundamentals

How Linux Kernel Manages Dynamic Memory and Process Address Space

This article explains how the Linux kernel allocates dynamic memory, distinguishes kernel and user‑space allocation strategies, describes the mm_struct layout of a process address space, and shows how pages and page tables translate virtual addresses to physical memory.

Memory ManagementVirtual Memorykernel
0 likes · 10 min read
How Linux Kernel Manages Dynamic Memory and Process Address Space
Test Development Learning Exchange
Test Development Learning Exchange
Dec 12, 2023 · Fundamentals

Python Memory Management and Optimization Techniques

Python automatically manages memory through garbage collection, and this article explains how the garbage collector works and presents ten practical techniques—including manual gc calls, generators, sys.getsizeof, slice copying, del statements, sys.intern, NumPy, pandas, reference counting, and __slots__—to reduce memory usage and improve performance.

Garbage CollectionMemory ManagementPython
0 likes · 5 min read
Python Memory Management and Optimization Techniques
DevOps Cloud Academy
DevOps Cloud Academy
Dec 11, 2023 · Operations

Managing Java Process Memory in Kubernetes Pods to Prevent OOMKilled

This article explains why Java processes in Kubernetes pods often encounter OOMKilled despite correct JVM heap settings, analyzes the discrepancy between JVM‑reported memory and container metrics, and provides practical steps such as adjusting MaxRAMPercentage and pod memory limits to stabilize memory usage.

JVMJavaKubernetes
0 likes · 9 min read
Managing Java Process Memory in Kubernetes Pods to Prevent OOMKilled
Deepin Linux
Deepin Linux
Dec 1, 2023 · Fundamentals

65 Essential Embedded System Interview Questions and Answers

This comprehensive guide presents 65 common embedded‑system interview questions covering topics such as memory layout, stack vs. heap, static and volatile keywords, pointers and references, malloc usage, C vs. C++ differences, compilation stages, process and thread concepts, IPC mechanisms, and networking fundamentals, providing concise explanations and code examples for each.

C programmingMemory Managementembedded systems
0 likes · 64 min read
65 Essential Embedded System Interview Questions and Answers
Architect
Architect
Nov 19, 2023 · Artificial Intelligence

Why AutoGPT Abandoned Vector Databases – A Deep Dive into Simpler Memory Strategies

The article examines AutoGPT's shift away from vector databases, detailing the original vision of using embeddings for long‑term memory, the performance calculations that exposed unnecessary complexity, the adoption of JSON‑based storage, and the emerging trend of specialized multi‑agent architectures.

AI agentsAutoGPTMemory Management
0 likes · 9 min read
Why AutoGPT Abandoned Vector Databases – A Deep Dive into Simpler Memory Strategies
Open Source Linux
Open Source Linux
Nov 17, 2023 · Databases

How Large Linux Pages Boost Database Performance on Kubernetes

This article explains how using larger Linux page sizes—especially 2 MB hugepages—dramatically improves database throughput on Kubernetes nodes by reducing TLB cache misses, and provides practical guidance on configuring hugepages, disabling transparent hugepages, and sizing resources for optimal performance.

Database PerformanceKubernetesMemory Management
0 likes · 13 min read
How Large Linux Pages Boost Database Performance on Kubernetes
FunTester
FunTester
Oct 30, 2023 · Backend Development

How to Build a High‑Performance Object Pool for Multithreaded Systems

This article explores the motivation, design, implementation, and performance testing of a high‑performance object pool that reduces allocation overhead in multithreaded environments by using thread‑local storage, freelists, and lock‑optimized global resources.

CMemory ManagementPerformance Optimization
0 likes · 25 min read
How to Build a High‑Performance Object Pool for Multithreaded Systems
Sohu Tech Products
Sohu Tech Products
Oct 25, 2023 · Backend Development

Deep Analysis of Netty FastThreadLocal: From Production Issue to Source Code Implementation

The article traces a production bug where unreleased JDK ThreadLocal data corrupted user info, then compares JDK ThreadLocal with Netty’s FastThreadLocal, detailing their source‑code implementations, performance trade‑offs (O(n) vs O(1) access), memory‑leak risks, and recommends explicit remove() calls to avoid leaks.

Backend DevelopmentFastThreadLocalJava
0 likes · 15 min read
Deep Analysis of Netty FastThreadLocal: From Production Issue to Source Code Implementation
Open Source Linux
Open Source Linux
Oct 24, 2023 · Fundamentals

Understanding Linux Memory Management: Physical, Virtual, and Page Tables

This article explains how Linux organizes physical memory, allocates pages using the buddy system and SLUB, structures virtual address spaces for user and kernel modes, and maps virtual addresses to physical memory through page tables, TLBs, and dynamic mappings.

Memory ManagementOperating SystemVirtual Memory
0 likes · 12 min read
Understanding Linux Memory Management: Physical, Virtual, and Page Tables
dbaplus Community
dbaplus Community
Oct 22, 2023 · Databases

How Redis Implements Lazy Deletion and When Expired Keys Stay Undeleted

This article explains Redis's two expiration mechanisms—lazy (access‑time) and periodic deletion—then dives into the source code of lookupKey, expireIfNeeded, deleteExpiredKeyAndPropagate, and the underlying delete functions, highlighting the differences between synchronous and asynchronous deletion, the conditions that prevent deletion of expired keys, and practical recommendations for configuring lazyfree.

Lazy DeletionMemory Managementasynchronous delete
0 likes · 16 min read
How Redis Implements Lazy Deletion and When Expired Keys Stay Undeleted
Volcano Engine Developer Services
Volcano Engine Developer Services
Oct 12, 2023 · Cloud Native

How ByteDance’s Katalyst Memory Advisor Boosts Kubernetes Memory Efficiency

This article explains the challenges of memory management in mixed workloads, outlines the limitations of native Linux and Kubernetes mechanisms, and details how ByteDance’s open‑source Katalyst Memory Advisor improves memory utilization, QoS, and eviction handling through user‑space policies, multi‑dimensional interference detection, and adaptive mitigation actions.

KatalystKubernetesMemory Management
0 likes · 17 min read
How ByteDance’s Katalyst Memory Advisor Boosts Kubernetes Memory Efficiency
ByteDance Cloud Native
ByteDance Cloud Native
Oct 11, 2023 · Cloud Native

How Katalyst Memory Advisor Optimizes Kubernetes Memory Management in Mixed Workloads

This article explains the challenges of memory management in mixed Kubernetes workloads, introduces ByteDance's open‑source Katalyst Memory Advisor, details native allocation and reclamation mechanisms, outlines its architecture and plugins, and describes interference detection and multi‑level mitigation strategies to improve memory utilization and service quality.

Cloud NativeKatalystKubernetes
0 likes · 19 min read
How Katalyst Memory Advisor Optimizes Kubernetes Memory Management in Mixed Workloads
Java Captain
Java Captain
Oct 7, 2023 · Fundamentals

Understanding the JVM Memory Model, Garbage Collection, and Memory Management Strategies

This article explains the Java Virtual Machine's memory architecture—including heap, method area, stack, program counter, and non‑heap memory—details common garbage‑collection algorithms such as mark‑sweep, copying, mark‑compact, and generational, and outlines Java's memory‑management practices like object lifecycle, memory partitioning, references, and synchronization.

Garbage CollectionJVMJava
0 likes · 6 min read
Understanding the JVM Memory Model, Garbage Collection, and Memory Management Strategies
21CTO
21CTO
Oct 5, 2023 · Fundamentals

What’s Coming in Python 3.12? Inside the Faster CPython Roadmap

The article outlines the major performance and architectural goals for Python 3.12, describing the Faster CPython project’s specialized opcodes, multithreading proposals, object size reductions, memory‑management improvements, and API stability efforts that aim to boost speed and maintainability.

CPythonMemory ManagementPEP
0 likes · 8 min read
What’s Coming in Python 3.12? Inside the Faster CPython Roadmap
政采云技术
政采云技术
Sep 27, 2023 · Databases

Understanding Redis Data Types and Their Internal Memory Implementations

This article explains Redis’s five core data object types—strings, lists, hashes, sets, and sorted sets—detailing their encoding schemes, underlying memory structures such as SDS, ziplist, linkedlist, hashtable, and skiplist, and how Redis optimizes storage and access performance.

Data StructuresMemory Managementkey-value store
0 likes · 13 min read
Understanding Redis Data Types and Their Internal Memory Implementations
Architect's Tech Stack
Architect's Tech Stack
Sep 16, 2023 · Fundamentals

Understanding Java Object Creation, JVM Memory, and Class Loading

This article explains how Java objects are created using the new operator, details the JVM memory model (stack and heap), describes the generation and loading of .class files by the ClassLoader, compares Class.newInstance() with new, and outlines the initialization steps and key concepts developers must master.

JVMJavaMemory Management
0 likes · 11 min read
Understanding Java Object Creation, JVM Memory, and Class Loading
政采云技术
政采云技术
Sep 7, 2023 · Backend Development

Understanding Netty's Memory Management and Allocation Strategies

This article explains how Netty implements memory management by borrowing concepts from Jemalloc and Tcmalloc, detailing the hierarchy of arenas, chunks, pages and sub‑pages, the allocation algorithms for both large and small buffers, and the role of thread‑local caches in reducing fragmentation and improving performance.

Backend DevelopmentJavaMemory Management
0 likes · 24 min read
Understanding Netty's Memory Management and Allocation Strategies
Efficient Ops
Efficient Ops
Sep 5, 2023 · Operations

Master Linux Performance: Boost Throughput, Cut Latency, and Optimize CPU & Memory

This guide explains how high concurrency and fast response depend on throughput and latency, defines key performance metrics, shows how to interpret average load, CPU context switches, and memory usage, and provides practical Linux tools and command‑line examples for diagnosing and tuning system performance.

CPU optimizationLinux performanceMemory Management
0 likes · 44 min read
Master Linux Performance: Boost Throughput, Cut Latency, and Optimize CPU & Memory
JD Tech
JD Tech
Aug 31, 2023 · Fundamentals

Understanding JVM Runtime Memory Layout, Garbage Collection Roots, and Algorithms

This article provides a comprehensive overview of the Java Virtual Machine's runtime memory areas, object layout, garbage collection roots, marking algorithms, generational hypotheses, remembered sets, and the main GC algorithms such as Mark‑Sweep, Mark‑Copy, and Mark‑Compact, explaining their principles and trade‑offs.

Garbage CollectionGenerational GCJVM
0 likes · 16 min read
Understanding JVM Runtime Memory Layout, Garbage Collection Roots, and Algorithms
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2023 · Fundamentals

How Linux Translates Virtual Addresses into Physical Memory

This article explains Linux's memory management, detailing how physical memory is organized into pages, zones, and nodes, how virtual addresses are structured for user and kernel space, and how page tables, the buddy system, SLUB, and TLB work together to map virtual addresses to physical memory.

Memory ManagementOS fundamentalsVirtual Memory
0 likes · 12 min read
How Linux Translates Virtual Addresses into Physical Memory
Top Architect
Top Architect
Aug 22, 2023 · Backend Development

31 Essential Java Performance Optimization Tips for Backend Development

This article presents a comprehensive list of thirty‑one practical Java performance optimization techniques—including proper use of singletons, avoiding static variables, minimizing object creation, leveraging final modifiers, choosing appropriate collections, and efficient exception handling—to help backend developers write faster, more memory‑efficient code.

JavaMemory Managementperformance
0 likes · 18 min read
31 Essential Java Performance Optimization Tips for Backend Development
DeWu Technology
DeWu Technology
Aug 21, 2023 · Backend Development

Design and Implementation of DGraph: A High‑Performance Recommendation Engine

DGraph, a C++ recommendation engine launched in 2022 for 得物, combines an index layer with a service layer, uses lock‑free RCU structures, a custom mmap‑based D‑Allocator, RoaringBitmap invert indexes, and a multi‑operator fusion scheduler to achieve high‑performance, eventually consistent, scalable recommendations.

CDistributed SystemsMemory Management
0 likes · 12 min read
Design and Implementation of DGraph: A High‑Performance Recommendation Engine
Selected Java Interview Questions
Selected Java Interview Questions
Aug 13, 2023 · Databases

Impact of Linux Page Size on Database Performance and Kubernetes Node Optimization

This article examines how Linux page size, especially the use of huge pages (2 MB and 1 GB), influences database throughput by reducing TLB misses, presents benchmark results, and offers practical guidance for configuring Kubernetes nodes to leverage large pages for optimal database performance.

Database PerformanceHuge PagesMemory Management
0 likes · 13 min read
Impact of Linux Page Size on Database Performance and Kubernetes Node Optimization
Tencent Database Technology
Tencent Database Technology
Aug 10, 2023 · Databases

Optimizing Buffer Pool Memory Management in TDSQL-C Serverless

This article explains the architecture of TDSQL-C Serverless buffer pool, details how InnoDB buffer pool resize works, analyzes performance bottlenecks such as IO and mutex contention, and presents optimization techniques like chunk pre‑allocation, delayed release, and hash‑resize improvements that make serverless scaling more stable.

Memory ManagementServerlessTDSQL-C
0 likes · 11 min read
Optimizing Buffer Pool Memory Management in TDSQL-C Serverless
Top Architect
Top Architect
Aug 10, 2023 · Fundamentals

Understanding Automatic Garbage Collection and Generational GC in Java

This article explains the concept of automatic garbage collection in Java, detailing the mark‑sweep‑compact process, the need for generational collection, and how objects move through Eden, Survivor, and Old generations, while also noting promotional links for further resources.

Garbage CollectionGenerational GCJVM
0 likes · 8 min read
Understanding Automatic Garbage Collection and Generational GC in Java
Selected Java Interview Questions
Selected Java Interview Questions
Aug 8, 2023 · Big Data

Processing 10GB Age Data on a 4GB Memory Machine Using Java: Single‑Threaded and Multi‑Threaded Solutions

This article demonstrates how to generate, read, and analyze a 10 GB file of age statistics on a 4 GB RAM, 2‑core machine using Java, comparing a single‑threaded counting method with a producer‑consumer multi‑threaded approach that dramatically improves CPU utilization and reduces processing time.

Big DataJavaMemory Management
0 likes · 11 min read
Processing 10GB Age Data on a 4GB Memory Machine Using Java: Single‑Threaded and Multi‑Threaded Solutions
Test Development Learning Exchange
Test Development Learning Exchange
Aug 6, 2023 · Fundamentals

Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples

This article presents ten practical Python code examples demonstrating various garbage collection mechanisms and memory‑analysis tools, including reference counting, cyclic references, object inspection, tracemalloc, memory_profiler, pympler, and objgraph, to help developers understand and optimize memory usage.

DebuggingGarbage CollectionMemory Management
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
Senior Tony
Senior Tony
Jul 23, 2023 · Backend Development

Master JVM Tuning: Balancing Pause Time, Throughput, and Memory Usage

This article explains the core trade‑offs of JVM tuning—short pause times versus high throughput—provides quantitative goals, outlines when tuning is needed, details step‑by‑step optimization procedures, and lists common GC strategies and command‑line parameters for effective Java performance tuning.

Garbage CollectionJVMJava
0 likes · 12 min read
Master JVM Tuning: Balancing Pause Time, Throughput, and Memory Usage
Architect
Architect
Jul 21, 2023 · Fundamentals

JVM Basics, Class Loading, Runtime Data Areas, Garbage Collection and Tuning Guide

This article provides a concise yet comprehensive overview of the Java Virtual Machine, covering its core components, how Java source files are compiled and executed, class‑loader mechanisms, runtime memory areas, garbage‑collection algorithms, and practical JVM tuning parameters for optimal performance.

Garbage CollectionJVMJava
0 likes · 31 min read
JVM Basics, Class Loading, Runtime Data Areas, Garbage Collection and Tuning Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 20, 2023 · Databases

Understanding the Dynamic Freeze Threshold in OceanBase: Source Code Analysis and Debugging

This article investigates why OceanBase's memory freeze threshold changes during load testing by analyzing monitoring data, inspecting the relevant source code, and demonstrating debugging steps, ultimately revealing that the threshold is computed dynamically based on real‑time memory usage and can be lowered when other memory modules consume space.

Freeze ThresholdMemory ManagementOceanBase
0 likes · 18 min read
Understanding the Dynamic Freeze Threshold in OceanBase: Source Code Analysis and Debugging
Bin's Tech Cabin
Bin's Tech Cabin
Jul 20, 2023 · Fundamentals

How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables

This article walks through the Linux kernel's memory‑management subsystem, explaining how virtual memory is linked to physical memory via page tables, covering single‑level, two‑level and multi‑level paging, the structure of page‑table entries, the role of the MMU and TLB, and the complete CPU address‑translation process.

Memory ManagementVirtual Memorylinux
0 likes · 67 min read
How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables
Top Architect
Top Architect
Jul 18, 2023 · Cloud Native

Java Containerization Guide: Base Image Selection, JDK/JRE Choice, JVM Options, Signal Handling, Memory Limits, DNS Caching, and Native Compilation

This comprehensive guide explains how to containerize Java applications by choosing appropriate base images, deciding between JDK and JRE, selecting a JVM, handling graceful shutdown signals, configuring memory limits, managing DNS caching, and optionally compiling to native binaries with GraalVM.

DockerJVMJava
0 likes · 23 min read
Java Containerization Guide: Base Image Selection, JDK/JRE Choice, JVM Options, Signal Handling, Memory Limits, DNS Caching, and Native Compilation
Open Source Linux
Open Source Linux
Jul 17, 2023 · Backend Development

Unlocking Linux Memory: From Address Spaces to Allocation Algorithms

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation, the buddy and slab allocation algorithms, kernel and user‑space memory usage scenarios, and common pitfalls, providing backend developers with practical insights to improve performance and stability.

Allocation AlgorithmsDMAMemory Management
0 likes · 20 min read
Unlocking Linux Memory: From Address Spaces to Allocation Algorithms
vivo Internet Technology
vivo Internet Technology
Jul 5, 2023 · Databases

Implementation of Redis LRU and LFU Cache Eviction Algorithms

Redis implements approximate LRU and LFU eviction policies by sampling keys and using a compact 24‑bit field to store timestamps and counters, where LRU evicts the least recently accessed items and LFU evicts those with low, decay‑adjusted access frequency, each with trade‑offs for different workloads.

Cache EvictionLFULRU
0 likes · 13 min read
Implementation of Redis LRU and LFU Cache Eviction Algorithms
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 30, 2023 · Fundamentals

Understanding Linux Kernel Folio: From Page to Folio and Its Design Rationale

Linux kernel introduced the struct folio abstraction to replace ad‑hoc compound‑page tricks, giving a clear collection‑oriented representation for power‑of‑two page groups such as THP and HugeTLB, and providing dedicated APIs that eliminate naming confusion, unify reference handling, and make memory‑management code safer and easier to understand.

Linux kernelMemory Managementcompound page
0 likes · 15 min read
Understanding Linux Kernel Folio: From Page to Folio and Its Design Rationale
Open Source Linux
Open Source Linux
Jun 29, 2023 · Fundamentals

Master Linux Memory Management: From Physical to Virtual Memory Explained

This comprehensive guide covers Linux memory management fundamentals, detailing physical and virtual memory concepts, allocation and release mechanisms, key kernel functions, code examples, process switching, performance tuning, leak detection, fragmentation mitigation, and real‑world applications across system, driver, and optimization layers.

Memory ManagementPhysical MemoryVirtual Memory
0 likes · 38 min read
Master Linux Memory Management: From Physical to Virtual Memory Explained
Open Source Linux
Open Source Linux
Jun 26, 2023 · Fundamentals

How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping

This article explains how Linux manages memory by organizing physical pages, using zones and nodes, allocating memory with the buddy system and SLUB, structuring user and kernel virtual address spaces, and translating virtual addresses to physical ones via page tables, TLBs, and dynamic mapping.

Memory ManagementPage TableSLUB
0 likes · 13 min read
How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping
Python Programming Learning Circle
Python Programming Learning Circle
Jun 20, 2023 · Fundamentals

The Shannon Plan: Faster CPython Initiatives for Python 3.13

The article outlines the Shannon Plan, a multi‑year effort led by CPython core developers to accelerate Python by introducing a Tier 2 optimizer, enabling sub‑interpreters via PEP 554, and improving memory management, with the ultimate goal of making Python five times faster by version 3.13.

Memory ManagementPEP 554faster-cpython
0 likes · 4 min read
The Shannon Plan: Faster CPython Initiatives for Python 3.13
FunTester
FunTester
Jun 9, 2023 · Fundamentals

Comparison of Java and Go Garbage Collection Mechanisms

This article compares the memory management and garbage collection architectures of Java and Go, detailing their heap and stack regions, GC trigger conditions, collection algorithms, fragmentation handling, root object selection, and write‑barrier strategies, and includes illustrative code examples.

Garbage CollectionJavaMemory Management
0 likes · 13 min read
Comparison of Java and Go Garbage Collection Mechanisms
21CTO
21CTO
Jun 2, 2023 · Artificial Intelligence

Why LangChain Is the Fast‑Growing Framework for LLM‑Powered Apps

LangChain, launched in 2022, quickly evolved from a Python library to a multi‑environment framework that helps developers build chat‑based applications, agents, and memory‑aware LLM solutions, while integrating with major cloud and AI tooling ecosystems.

AI agentsAuto-GPTChat applications
0 likes · 8 min read
Why LangChain Is the Fast‑Growing Framework for LLM‑Powered Apps