Tagged articles

Memory Management

1009 articles · Page 8 of 11
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 4, 2021 · Big Data

Flink Performance Tuning Guide: Memory Configuration, Parallelism, Checkpoint Optimization, and Common Issues

This guide details comprehensive Flink performance tuning techniques, covering memory configuration, GC settings, parallelism adjustments, process parameters, partitioning strategies, Netty network tuning, checkpoint optimization, and common issues such as data skew and resource bottlenecks.

CheckpointFlinkMemory Management
0 likes · 18 min read
Flink Performance Tuning Guide: Memory Configuration, Parallelism, Checkpoint Optimization, and Common Issues
DeWu Technology
DeWu Technology
Apr 2, 2021 · Fundamentals

How Android’s ART Runtime Manages Heap Memory: A Deep Dive into GC Structures

This article explains why reading the ART virtual‑machine source is valuable, compares Dalvik and ART, outlines the GC source hierarchy, details the Space class architecture—including accounting, allocator, collector, and specific spaces like LargeObjectSpace, BumpPointerSpace, and RegionSpace—then analyzes heap construction, PreZygoteFork processing, memory‑map layout, and the full Java‑object allocation flow in ART.

ARTAndroidGarbage Collection
0 likes · 43 min read
How Android’s ART Runtime Manages Heap Memory: A Deep Dive into GC Structures
WecTeam
WecTeam
Mar 27, 2021 · Frontend Development

JavaScript Memory Management & Flutter Web at Meituan: Key Insights

This newsletter highlights two technical articles: one explains JavaScript's memory allocation, stack and heap usage, and garbage‑collection methods with examples of common leaks, while the other details Meituan Waimai's Flutter Web performance challenges and their mitigation strategies.

JavaScriptMemory Managementflutter-web
0 likes · 2 min read
JavaScript Memory Management & Flutter Web at Meituan: Key Insights
Python Programming Learning Circle
Python Programming Learning Circle
Mar 20, 2021 · Fundamentals

Understanding Python Object Memory Management and Garbage Collection

This article explains Python's memory management, covering object references, identity via id(), reference counting, caching of small objects, the use of the is operator, handling of reference cycles with objgraph, manual reference deletion, and the generational garbage collection mechanism including thresholds and cycle detection.

Garbage CollectionGenerational GCMemory Management
0 likes · 12 min read
Understanding Python Object Memory Management and Garbage Collection
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 13, 2021 · Fundamentals

Effective Java Practices: Builder Pattern, Object Creation, and Performance Optimizations

This article presents a collection of Java best‑practice guidelines—including using the Builder pattern for many constructor arguments, privatizing utility class constructors, minimizing object creation, avoiding finalizers, applying the Law of Demeter, preferring enums, and careful use of var‑args—to improve code readability, memory usage, and runtime performance.

JavaMemory Managementbest practices
0 likes · 15 min read
Effective Java Practices: Builder Pattern, Object Creation, and Performance Optimizations
Sohu Tech Products
Sohu Tech Products
Mar 10, 2021 · Databases

Elasticsearch Deployment Best Practices: Memory, CPU, Sharding, Replicas, Hot/Warm Architecture, Node Roles, Monitoring and Troubleshooting

This article presents practical best‑practice guidelines for configuring Elasticsearch in production, covering heap memory sizing, CPU considerations, shard and replica planning, hot‑warm node architecture, node role settings, common pitfalls, monitoring APIs, and troubleshooting tips.

Cluster TuningElasticsearchMemory Management
0 likes · 15 min read
Elasticsearch Deployment Best Practices: Memory, CPU, Sharding, Replicas, Hot/Warm Architecture, Node Roles, Monitoring and Troubleshooting
vivo Internet Technology
vivo Internet Technology
Mar 10, 2021 · Frontend Development

Performance Optimization Strategies for a WeChat Mini‑Program Serving Vivo Offline Agents

The article details how the C‑end User Mini‑Program for Vivo offline agents was optimized to meet strict performance targets—reducing startup time, white‑screen duration, rendering latency, and memory usage—through code trimming, sub‑packaging, CDN assets, data caching, skeleton screens, and efficient setData handling, achieving faster loads and smoother interaction.

Code SplittingMemory ManagementPerformance Optimization
0 likes · 13 min read
Performance Optimization Strategies for a WeChat Mini‑Program Serving Vivo Offline Agents
Tencent Music Tech Team
Tencent Music Tech Team
Mar 4, 2021 · Mobile Development

Analysis of Android Virtual Memory and Address Space in QQ Music/Karaoke App

The article explains Android virtual memory concepts, address space limits for 32‑ and 64‑bit apps, layout of QQ Music/Karaoke process memory, tools for inspecting /proc/pid/smaps, and shows how memory growth (e.g., loading libYTCommon.so) can cause 32‑bit apps to hit the 4 GB limit and crash.

AndroidMemory ManagementMobile Development
0 likes · 20 min read
Analysis of Android Virtual Memory and Address Space in QQ Music/Karaoke App
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 3, 2021 · Frontend Development

Mastering JavaScript Memory Management: GC Algorithms and Performance Tips

Understanding how JavaScript manages memory, this article explains garbage collection concepts such as Stop‑The‑World pauses, reference counting, mark‑sweep, mark‑compact, incremental marking, and V8’s generational strategies, while offering practical code examples and optimization techniques to prevent leaks and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 14 min read
Mastering JavaScript Memory Management: GC Algorithms and Performance Tips
ITPUB
ITPUB
Mar 2, 2021 · Fundamentals

Master OS Interview Questions: From Basics to Advanced Concepts

This comprehensive guide covers over forty operating system interview questions, explaining core concepts such as OS fundamentals, process and thread management, memory handling, file systems, I/O mechanisms, scheduling algorithms, and deadlock prevention, providing detailed answers and diagrams to help candidates excel in technical interviews.

File SystemInterview QuestionsMemory Management
0 likes · 65 min read
Master OS Interview Questions: From Basics to Advanced Concepts
ITPUB
ITPUB
Feb 26, 2021 · Fundamentals

Unlocking Linux: A Deep Dive into Processes, Memory Management, Filesystems, I/O and Security

This comprehensive guide explores Linux’s core concepts—from its UNIX heritage and system architecture to process creation, inter‑process communication, scheduling, virtual memory, file‑system design, I/O handling, networking, loadable modules, and the security model that governs users, permissions and privileged operations.

File SystemsI/OLinux
0 likes · 107 min read
Unlocking Linux: A Deep Dive into Processes, Memory Management, Filesystems, I/O and Security
Java Backend Technology
Java Backend Technology
Feb 26, 2021 · Databases

Redis Memory Limits & Eviction: LRU, LFU, and Config Guide

Learn how to set Redis's maximum memory usage, understand its various eviction policies—including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, volatile‑ttl, and the newer LFU strategies—plus see Java code examples and insights into approximate LRU implementation.

JavaLFULRU
0 likes · 13 min read
Redis Memory Limits & Eviction: LRU, LFU, and Config Guide
Architect
Architect
Feb 25, 2021 · Databases

Redis Expiration, Eviction Policies, and LRU/LFU Algorithms

This article explains how Redis handles key expiration, the commands for setting TTL, the three expiration strategies, the eight eviction policies, and the internal LRU and LFU algorithms, including their implementation details, sampling techniques, and configuration parameters for memory management.

LFULRUMemory Management
0 likes · 13 min read
Redis Expiration, Eviction Policies, and LRU/LFU Algorithms
Code Ape Tech Column
Code Ape Tech Column
Feb 25, 2021 · Databases

Understanding Redis Expiration and Eviction Policies

This article explains how Redis handles key expiration, the commands for setting TTL, the three expiration strategies, the eight memory‑eviction policies, and the internal LRU and LFU algorithms used to manage hot data when memory is exhausted.

ExpirationLFULRU
0 likes · 12 min read
Understanding Redis Expiration and Eviction Policies
Top Architect
Top Architect
Feb 24, 2021 · Databases

Understanding Redis Memory Limits and Eviction Policies (LRU, LFU)

This article explains how to set Redis's maximum memory usage, configure eviction policies such as noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, and LFU, demonstrates command‑line and configuration‑file methods, and provides a Java implementation of an LRU cache.

JavaLFULRU
0 likes · 12 min read
Understanding Redis Memory Limits and Eviction Policies (LRU, LFU)
Liangxu Linux
Liangxu Linux
Feb 6, 2021 · Backend Development

Why Standard malloc Slows You Down and How Custom Memory Pools Supercharge Performance

Although malloc is a universal allocator, its lack of scenario-specific optimization makes it unsuitable for high‑performance server applications; this article explains malloc’s internal workflow, compares it with custom memory‑pool techniques, and details various pool designs, thread‑safety strategies, and an interesting cross‑thread free problem.

Backend DevelopmentC++Memory Management
0 likes · 14 min read
Why Standard malloc Slows You Down and How Custom Memory Pools Supercharge Performance
Refining Core Development Skills
Refining Core Development Skills
Jan 25, 2021 · Fundamentals

Understanding Linux Memory Management: Nodes, Zones, Buddy System, and SLAB Allocator

This article explains the Linux kernel memory management hierarchy—including NUMA nodes, memory zones, the buddy system for free pages, and the SLAB allocator—providing command‑line examples, code snippets, and visual diagrams to illustrate how the kernel efficiently allocates and reclaims memory.

LinuxMemory ManagementSlab Allocator
0 likes · 11 min read
Understanding Linux Memory Management: Nodes, Zones, Buddy System, and SLAB Allocator
Amap Tech
Amap Tech
Jan 22, 2021 · Mobile Development

Memory Management and Optimization Strategies for Gaode Map Mobile Application

To prevent iOS OOM kills in Gaode Map, developers analyzed Jetsam‑driven physical‑footprint data, identified IOKit, WebKit Malloc, and malloc‑heap as primary consumers, applied graphics texture trimming, shared JavaScriptCore contexts, hooked allocation APIs, and implemented adaptive resource management, achieving roughly 50 % memory reduction and lower crash rates.

Gaode MapJetsamMemory Management
0 likes · 14 min read
Memory Management and Optimization Strategies for Gaode Map Mobile Application
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2021 · Fundamentals

Why Everything in Python Is an Object: Unraveling Types, Instances, and Metaclasses

This article explains Python’s core principle that everything is an object, detailing the distinction between type objects, instance objects, and metaclasses, how built‑in types like int and str fit into the hierarchy, the role of the object base class, variable naming as pointers, and the differences between mutable, immutable, fixed‑length and variable‑length objects.

ImmutableMemory ManagementMutable
0 likes · 23 min read
Why Everything in Python Is an Object: Unraveling Types, Instances, and Metaclasses
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 13, 2021 · Mobile Development

Flutter Image Performance Optimization: Cache Strategy Analysis and Implementation

This article evaluates Flutter image performance by comparing view reuse, disk‑cache reuse, and memory‑cache reuse strategies, detailing implementation hurdles, and ultimately finds that a Texture‑based approach offers fast communication yet consumes more memory than the native Image widget’s on‑demand decoding.

Cross‑Platform DevelopmentFlutterMemory Management
0 likes · 13 min read
Flutter Image Performance Optimization: Cache Strategy Analysis and Implementation
Liangxu Linux
Liangxu Linux
Jan 10, 2021 · Fundamentals

Why Does Your Computer Need Virtual Memory? A Deep Dive into Memory Management

This article explains the fundamentals of operating‑system memory management, covering physical memory limits, the need for address spaces, base‑limit protection, paging, virtual memory mapping, page‑fault handling, and a comprehensive review of page‑replacement algorithms such as FIFO, LRU, Clock, and Working‑Set.

Memory ManagementPagingTLB
0 likes · 26 min read
Why Does Your Computer Need Virtual Memory? A Deep Dive into Memory Management
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 10, 2021 · Fundamentals

Understanding the JVM Memory Model, Garbage Collection Algorithms, and Performance Optimizations

This comprehensive guide explains the JVM memory layout, object allocation, garbage collection mechanisms such as mark‑sweep, copying, and mark‑compact, details GC roots, reference types, collector types, tuning parameters, and related Java performance tools, providing practical code examples and diagrams.

Garbage CollectionJVMJava
0 likes · 42 min read
Understanding the JVM Memory Model, Garbage Collection Algorithms, and Performance Optimizations
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 2, 2021 · Fundamentals

Understanding G1 Garbage Collector: Architecture, Algorithms, and Tuning

This article explains the different types of Java garbage collectors, focuses on the G1 (Garbage‑First) collector’s region‑based architecture, key data structures and algorithms such as TLAB, PLAB, CSet, Card Table, RSet, and SATB, and provides detailed log analysis and tuning recommendations to improve pause times and throughput.

G1 GCGarbage CollectionJVM
0 likes · 37 min read
Understanding G1 Garbage Collector: Architecture, Algorithms, and Tuning
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 31, 2020 · Fundamentals

Unlocking JVM Secrets: Memory Leaks, GC, Class Loading and Performance Tuning

This comprehensive guide explores Java's JVM internals, covering memory leaks, data type sizes, differences between Serial and Parallel GC, reference types, compressed OOPs, JVM bitness detection, heap limits, JRE/JDK/JVM/JIT distinctions, memory regions, garbage collection algorithms, class loading mechanisms, and practical tuning commands and tools, providing developers with deep insights into Java performance and memory management.

Garbage CollectionJavaMemory Management
0 likes · 63 min read
Unlocking JVM Secrets: Memory Leaks, GC, Class Loading and Performance Tuning
Code Ape Tech Column
Code Ape Tech Column
Dec 25, 2020 · Fundamentals

Inside the JVM: Unraveling Memory Areas, GC, and Class Loading

This article provides a comprehensive overview of the Java Virtual Machine, covering its runtime data areas, the Java Memory Model, heap organization, garbage‑collection algorithms, HotSpot implementation details, JVM tuning parameters, and the class‑loading mechanism.

Garbage CollectionJMMJVM
0 likes · 29 min read
Inside the JVM: Unraveling Memory Areas, GC, and Class Loading
政采云技术
政采云技术
Dec 22, 2020 · Frontend Development

V8 Engine Garbage Collection and Memory Allocation

This article explains the architecture of browser engines, the distinction between stack and heap memory, V8's generational garbage collection strategies—including the Scavenge algorithm for the young generation and mark‑sweep/mark‑compact for the old generation—along with optimizations such as write barriers, incremental marking, and parallel/concurrent collection.

Garbage CollectionJavaScript EngineMemory Management
0 likes · 13 min read
V8 Engine Garbage Collection and Memory Allocation
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 22, 2020 · Fundamentals

Demystifying the JVM: Architecture, Runtime Data Areas, and Core Concepts

This article introduces the Java Virtual Machine’s overall architecture and its runtime data areas, covering class files, class loaders, execution engine components, native interfaces, and detailed explanations of the program counter, stacks, heap, method area, and constant pool, providing a solid foundation for Java developers.

Class LoaderExecution EngineJava
0 likes · 24 min read
Demystifying the JVM: Architecture, Runtime Data Areas, and Core Concepts
Code Ape Tech Column
Code Ape Tech Column
Dec 21, 2020 · Backend Development

13 Proven Redis Performance Tweaks Every Engineer Should Apply

This article presents thirteen practical Redis performance‑optimization rules—covering command complexity, key expiration, data structures, persistence, hardware choices, clustering, memory fragmentation, and client‑side techniques—to help developers identify bottlenecks and boost throughput and latency in production environments.

CachingMemory ManagementOptimization
0 likes · 12 min read
13 Proven Redis Performance Tweaks Every Engineer Should Apply
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2020 · Mobile Development

Tailor: An Open‑Source Android Memory Snapshot Trimming and Compression Tool for OOM Governance

Tailor is an open‑source Android memory‑snapshot trimming and compression tool developed by the Xigua Video team that dramatically reduces OOM occurrences by over 95% through efficient snapshot cropping, zlib compression, and seamless integration with the dump process, while preserving essential debugging information.

AndroidHprofMemory Management
0 likes · 17 min read
Tailor: An Open‑Source Android Memory Snapshot Trimming and Compression Tool for OOM Governance
ITPUB
ITPUB
Nov 19, 2020 · Fundamentals

How HugePages Boost Database and Hadoop Performance on Linux

This article explains Linux HugePages, how to view and configure them, demonstrates code and Kubernetes examples, and details how larger memory pages reduce management overhead and lock memory to improve performance for memory‑intensive services like databases and Hadoop.

HadoopHugePagesLinux
0 likes · 10 min read
How HugePages Boost Database and Hadoop Performance on Linux
IT Xianyu
IT Xianyu
Nov 5, 2020 · Fundamentals

Four Types of References in Java and Their Usage

This article explains Java's four reference types—strong, soft, weak, and phantom—detailing their purposes, behavior during garbage collection, and practical code examples that demonstrate how each reference influences object lifecycle and memory management.

Garbage CollectionJavaMemory Management
0 likes · 9 min read
Four Types of References in Java and Their Usage
Programmer DD
Programmer DD
Nov 4, 2020 · Databases

7 Essential Linux Tweaks to Supercharge Redis Performance

This guide explains seven critical Linux operating‑system settings—memory overcommit, swappiness, Transparent Huge Pages, OOM killer, NTP synchronization, ulimit, and TCP backlog—that together ensure Redis runs reliably and at peak speed.

Memory ManagementOS TuningRedis
0 likes · 14 min read
7 Essential Linux Tweaks to Supercharge Redis Performance
Liangxu Linux
Liangxu Linux
Oct 22, 2020 · Fundamentals

Mastering Core OS Concepts: Processes, Memory, Files, I/O, and Protection

This article introduces fundamental operating‑system concepts—including processes, address spaces, file systems, I/O devices, protection mechanisms, and virtual memory—explaining their roles, state models, and how they enable reliable communication between hardware and application software.

Memory ManagementVirtual Memoryoperating system
0 likes · 19 min read
Mastering Core OS Concepts: Processes, Memory, Files, I/O, and Protection
Laravel Tech Community
Laravel Tech Community
Oct 20, 2020 · Databases

Analyzing and Troubleshooting Redis Latency Issues

This article explains common causes of Redis latency spikes, such as high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation, and provides step‑by‑step troubleshooting commands and best‑practice recommendations.

AOFLarge KeysLatency
0 likes · 18 min read
Analyzing and Troubleshooting Redis Latency Issues
MaGe Linux Operations
MaGe Linux Operations
Oct 12, 2020 · Fundamentals

How to Slash Python Memory Usage with __slots__ and Size Inspection

This article explains how Python's dynamic objects consume hidden memory, demonstrates measuring object sizes with sys.getsizeof and a recursive get_size function, and shows how using __slots__ can dramatically reduce memory footprints while discussing trade‑offs and practical code examples.

Memory ManagementPython__slots__
0 likes · 9 min read
How to Slash Python Memory Usage with __slots__ and Size Inspection
ITPUB
ITPUB
Oct 12, 2020 · Fundamentals

Understanding Linux Process Memory Layout: From task_struct to vm_area_struct

This article explains Linux process memory organization, detailing how task_struct and mm_struct describe virtual memory, the role of vm_area_struct for each segment, page table interactions, and the lazy allocation mechanism that maps physical memory only on page faults.

LinuxMemory Managementkernel
0 likes · 7 min read
Understanding Linux Process Memory Layout: From task_struct to vm_area_struct
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 11, 2020 · Fundamentals

Comprehensive Overview of Linux Processes, Memory Management, Filesystems, I/O, and Security

This article provides an in‑depth tutorial on Linux fundamentals, covering the kernel architecture, process and thread creation, inter‑process communication, scheduling algorithms, virtual memory management, paging, caching, file system structures (VFS, ext2/ext4), network file systems, I/O device handling, loadable modules, and the operating‑system security model with permissions and setuid mechanisms.

FilesystemI/OLinux
0 likes · 102 min read
Comprehensive Overview of Linux Processes, Memory Management, Filesystems, I/O, and Security
IT Architects Alliance
IT Architects Alliance
Oct 5, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem and Core Components Explained

This comprehensive guide breaks down the four main parts of a Linux system—kernel, shell, filesystem and applications—detailing kernel subsystems such as memory and process management, shell variants, file types, directory hierarchy, partition handling, VFS, mounting procedures, link types and essential command‑line tools, while also touching on application bundles and kernel parameter tuning.

FilesystemLinuxMemory Management
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem and Core Components Explained
Programmer DD
Programmer DD
Sep 20, 2020 · Operations

Why Is Your Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them

This article examines typical Redis latency spikes—such as complex O(n) commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—explaining how to detect, monitor, and mitigate each issue to maintain high‑performance operation.

AOFLatencyMemory Management
0 likes · 17 min read
Why Is Your Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them
ITPUB
ITPUB
Sep 11, 2020 · Fundamentals

How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)

This article explains the design and evolution of Redis's Simple Dynamic Strings (SDS), covering the original pre‑3.2 structure, the newer type‑specific headers, the core API functions for creating, clearing, and concatenating SDS objects, and the memory‑reallocation strategy that ensures binary safety and efficient storage.

Binary SafetyC#Data Structures
0 likes · 13 min read
How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)
Architecture Digest
Architecture Digest
Sep 3, 2020 · Databases

Practical Elasticsearch Performance and Stability Tuning Guide

This article consolidates practical Elasticsearch tuning techniques—including configuration file adjustments, system‑level optimizations, and usage‑level settings—to improve cluster performance, stability, and resource efficiency for production environments.

Big DataCluster ConfigurationElasticsearch
0 likes · 15 min read
Practical Elasticsearch Performance and Stability Tuning Guide
vivo Internet Technology
vivo Internet Technology
Aug 19, 2020 · Mobile Development

Why Android Images Cause OOM: Memory Usage, DPI, and Glide Tips

This article explains how different Android versions handle image memory, clarifies screen size, density, and resolution concepts, shows how folder placement and bitmap formats affect RAM usage, and provides practical Glide configuration to prevent out‑of‑memory crashes.

AndroidGlideImage Loading
0 likes · 11 min read
Why Android Images Cause OOM: Memory Usage, DPI, and Glide Tips
Architect's Tech Stack
Architect's Tech Stack
Aug 18, 2020 · Databases

Understanding Redis Memory Limits and Eviction Policies

This article explains how to configure Redis's maximum memory usage, describes the built‑in eviction strategies such as noeviction, allkeys‑lru, volatile‑lru, random and ttl policies, shows how to query and set these policies via configuration files or runtime commands, and details the LRU and LFU algorithms used by Redis, including Java sample code and recent improvements in Redis 3.0 and 4.0.

LFULRUMemory Management
0 likes · 9 min read
Understanding Redis Memory Limits and Eviction Policies
Wukong Talks Architecture
Wukong Talks Architecture
Aug 7, 2020 · Fundamentals

JVM Interview Questions and Java Mind Map Resources

This article presents a comprehensive collection of JVM interview questions covering memory areas, garbage collection, class loading, and performance tuning, along with eleven detailed Java mind‑map images that visually summarize core concepts such as the JVM architecture, GC algorithms, and thread management.

Garbage CollectionJVMJava
0 likes · 8 min read
JVM Interview Questions and Java Mind Map Resources
Programmer DD
Programmer DD
Jul 26, 2020 · Databases

Mastering Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained

Redis, an in‑memory key‑value store, lets you set a maximum memory limit via configuration files or runtime commands, choose among various eviction strategies such as noeviction, allkeys‑lru, volatile‑lru, and LFU, and understand how approximate LRU works, with Java code examples illustrating these concepts.

LFULRUMemory Management
0 likes · 10 min read
Mastering Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained
MaGe Linux Operations
MaGe Linux Operations
Jul 16, 2020 · Databases

Master Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained

This article explains how to configure Redis's maximum memory usage, modify memory limits at runtime, understand the built‑in eviction strategies—including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, and volatile‑ttl—how to query and set these policies, and the details of LRU and LFU algorithms with Java examples and performance comparisons.

LFULRUMemory Management
0 likes · 10 min read
Master Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 10, 2020 · Fundamentals

Common Java OutOfMemoryError Types and Their Solutions

This article explains the various OutOfMemoryError variants in the Java Virtual Machine, illustrates each with reproducible code examples, analyzes root causes, and provides practical mitigation strategies such as JVM flags, code refactoring, and system‑level adjustments.

JVMJavaMemory Management
0 likes · 20 min read
Common Java OutOfMemoryError Types and Their Solutions
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 5, 2020 · Big Data

Understanding Spark Memory Management: On‑heap, Off‑heap, and Unified Memory

This article provides a comprehensive overview of Spark's memory management, covering executor memory architecture, the differences between on‑heap and off‑heap memory, static versus unified memory managers, storage and execution memory handling, and practical guidelines for optimizing Spark applications.

Big DataExecutorMemory Management
0 likes · 21 min read
Understanding Spark Memory Management: On‑heap, Off‑heap, and Unified Memory
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 5, 2020 · Fundamentals

Understanding JVM Runtime Data Areas and Memory Management

This article provides a comprehensive overview of the Java Virtual Machine's runtime data areas—including the program counter, JVM stack, native method stack, heap, and method area—explaining their structures, lifecycles, related JVM flags, garbage‑collection strategies, TLAB, and escape‑analysis optimizations.

Garbage CollectionJVMJava
0 likes · 42 min read
Understanding JVM Runtime Data Areas and Memory Management
Open Source Linux
Open Source Linux
Jul 3, 2020 · Fundamentals

Unlock Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation, buddy and slab allocation algorithms, kernel and user‑space memory pools, DMA handling, common pitfalls in C/C++ memory management, and practical commands for monitoring and debugging memory usage on Linux systems.

Allocation AlgorithmsLinuxMemory Management
0 likes · 23 min read
Unlock Linux Memory: From Basics to Advanced Allocation Strategies
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 30, 2020 · Fundamentals

Understanding Java Garbage Collection: Goals, Algorithms, and Timing

This article explains Java garbage collection by outlining its purpose, the criteria for reclaimable objects through reference counting and reachability analysis, when collection occurs, and the main GC algorithms—including mark‑sweep, copying, mark‑compact, and generational collection—along with common JVM collectors.

GC AlgorithmsGarbage CollectionJVM
0 likes · 9 min read
Understanding Java Garbage Collection: Goals, Algorithms, and Timing
ITPUB
ITPUB
Jun 18, 2020 · Fundamentals

Mastering Linux Memory Management: From Address Space to Allocation Algorithms

This article provides a comprehensive guide to Linux memory management, covering the memory organization, address spaces, fragmentation causes and mitigation, the buddy and slab allocation algorithms, kernel and user‑space memory pools, common pitfalls, and practical tools for monitoring and debugging memory usage.

LinuxMemory ManagementSlab Allocator
0 likes · 20 min read
Mastering Linux Memory Management: From Address Space to Allocation Algorithms
Laravel Tech Community
Laravel Tech Community
Jun 16, 2020 · Mobile Development

Kuaishou’s APM Platform and Mobile Performance Optimization: Insights from Yang Kai

In a mobile‑first world where limited device resources and unstable networks threaten user retention, Kuaishou’s performance team built an APM monitoring platform and applied systematic memory, startup, and jank optimizations that cut startup time by 40%, reduced package size by 23 MB, and significantly improved key product metrics.

APMKuaishouMemory Management
0 likes · 9 min read
Kuaishou’s APM Platform and Mobile Performance Optimization: Insights from Yang Kai
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2020 · Fundamentals

Understanding CPython's Memory Management (Python 2.7)

This article explains how CPython implements its own memory‑management scheme—including the layered allocation model, pool and arena structures, block size classes, and reference‑count‑based reclamation—by dissecting the source code of Python 2.7’s obmalloc module.

CPythonGarbage CollectionMemory Management
0 likes · 23 min read
Understanding CPython's Memory Management (Python 2.7)
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 25, 2020 · Databases

Mastering Redis: Expiration Strategies, Memory Management, and Transactions

This guide explores Redis key expiration policies—including active, lazy, and periodic expiration—memory eviction strategies, resource consumption, thread model, and transaction mechanisms, providing practical insights on configuring TTL, optimizing memory usage, and understanding Redis’s single‑threaded architecture for reliable data handling.

ExpirationMemory ManagementRedis
0 likes · 12 min read
Mastering Redis: Expiration Strategies, Memory Management, and Transactions
Selected Java Interview Questions
Selected Java Interview Questions
May 21, 2020 · Databases

Redis Memory Limits, Eviction Policies, and LRU/LFU Implementation

This article explains how to configure Redis's maximum memory usage, describes the various eviction strategies including noeviction, allkeys‑lru, volatile‑lru, random and ttl policies, shows how to query and set these policies via configuration files or commands, and provides Java code for a simple LRU cache while discussing Redis's approximate LRU and LFU algorithms.

ConfigurationJavaLFU
0 likes · 15 min read
Redis Memory Limits, Eviction Policies, and LRU/LFU Implementation
Java Captain
Java Captain
May 20, 2020 · Fundamentals

Why Setting Unused Objects to null May Not Help Java Garbage Collection

This article explains, with concrete Java examples and JVM runtime‑stack analysis, why manually assigning null to objects that are out of scope does not always trigger earlier garbage collection, and how stack slot reuse can achieve the same effect without relying on a questionable practice.

Garbage CollectionJVMJava
0 likes · 8 min read
Why Setting Unused Objects to null May Not Help Java Garbage Collection
Open Source Linux
Open Source Linux
May 19, 2020 · Fundamentals

Essential Operating System Concepts Every Developer Should Know

This comprehensive guide explains over 190 fundamental operating system and computer architecture concepts—including OS kernels, memory management, process control, virtualization, storage, networking, and security—providing clear definitions, examples, and visual illustrations to help readers grasp the core building blocks of modern computing systems.

Computer ArchitectureMemory Managementkernel
0 likes · 45 min read
Essential Operating System Concepts Every Developer Should Know
macrozheng
macrozheng
Apr 22, 2020 · Databases

13 Proven Techniques to Supercharge Redis Performance

Learn how to dramatically boost Redis speed by shortening key/value sizes, enabling lazy free, setting expirations, disabling costly commands, using slowlog, pipelines, avoiding mass expirations, optimizing clients, limiting memory, running on physical servers, tweaking persistence, disabling THP, and adopting distributed architectures.

CachingLazy FreeMemory Management
0 likes · 19 min read
13 Proven Techniques to Supercharge Redis Performance
Python Programming Learning Circle
Python Programming Learning Circle
Apr 21, 2020 · Fundamentals

9 Common Python Interview Questions and Answers

This article presents nine frequently asked Python interview questions covering lists, tuples, dictionaries, string reversal, memory management, session/cookie/token concepts, HTTP methods, decorators, concurrency, comprehensions, and generators, each explained with clear descriptions and code examples for developers preparing for technical interviews.

Data StructuresMemory Managementgenerators
0 likes · 11 min read
9 Common Python Interview Questions and Answers
Java Architect Essentials
Java Architect Essentials
Apr 17, 2020 · Fundamentals

Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization

This article provides an extensive overview of Java Virtual Machine fundamentals for interview preparation, covering JVM components, runtime data areas, heap vs. stack memory, garbage collection mechanisms, algorithms, collectors, memory allocation strategies, class loading processes, and tuning tools.

Garbage CollectionJVMMemory Management
0 likes · 31 min read
Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization
Sohu Tech Products
Sohu Tech Products
Apr 8, 2020 · Fundamentals

Design and Implementation of Go's Garbage Collector

This article provides an in‑depth overview of Go's garbage collector, covering its design principles, mark‑sweep algorithm, tri‑color abstraction, write‑barrier techniques, incremental and concurrent collection, evolution across Go versions, and detailed implementation details of marking, sweeping, and memory reclamation.

Garbage CollectionMemory Management
0 likes · 52 min read
Design and Implementation of Go's Garbage Collector
Java Backend Technology
Java Backend Technology
Apr 7, 2020 · Databases

How to Inspect and Clear Linux Buff/Cache and Optimize MySQL Joins

This article explains how to use Linux commands like free and sync to view and clear buffer/cache memory, describes the information shown by free, and then dives into SQL join types, their performance impact, and optimization techniques such as indexing, join_buffer tuning, and join algorithms.

Buffer CacheLinuxMemory Management
0 likes · 9 min read
How to Inspect and Clear Linux Buff/Cache and Optimize MySQL Joins
FunTester
FunTester
Apr 3, 2020 · Fundamentals

JVM Memory Model, GC Log Analysis, and Production Parameter Optimization

This article examines production JVM memory architecture, explains GC log generation and analysis, details the ParNew + CMS collector behavior, and provides practical parameter tuning recommendations to optimize heap size, young generation, and garbage collection for stable Java applications in production environments.

Garbage CollectionJVMJava
0 likes · 10 min read
JVM Memory Model, GC Log Analysis, and Production Parameter Optimization
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 2, 2020 · Fundamentals

Fundamental Concepts of Operating Systems and Computer Architecture

This article provides a comprehensive overview of operating system fundamentals and computer architecture, covering topics such as OS components, kernel and user modes, memory management, process handling, hardware interfaces, storage hierarchies, virtualization, and related historical and modern systems in roughly eighty concise entries.

Computer ArchitectureMemory Managementinterrupt()
0 likes · 25 min read
Fundamental Concepts of Operating Systems and Computer Architecture
FunTester
FunTester
Apr 1, 2020 · Backend Development

Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips

Learn how to optimize Java applications by configuring six critical JVM parameters—including heap size, Metaspace limits, GC algorithm selection, logging, heap dumps, thread stack size, and network timeouts—while understanding their impact on performance, memory usage, and troubleshooting common out‑of‑memory issues.

Garbage CollectionHeap DumpJVM
0 likes · 9 min read
Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips
Senior Brother's Insights
Senior Brother's Insights
Mar 31, 2020 · Databases

Boost Redis Performance: 13 Proven Optimization Techniques

Learn how to dramatically improve Redis performance by shortening key-value sizes, enabling lazy free, setting expirations, disabling costly commands, using slowlog, leveraging pipeline, preventing mass expirations, optimizing client connections, limiting memory, running on physical servers, configuring persistence, disabling THP, and adopting distributed architectures.

Database TuningLazy FreeMemory Management
0 likes · 18 min read
Boost Redis Performance: 13 Proven Optimization Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Mar 27, 2020 · Fundamentals

Understanding Python Memory Management: Reference Counting, Circular References, and Generational Garbage Collection

Python abstracts memory management through reference counting, handles cyclic references with a generational garbage collector, and employs the weak generational hypothesis to efficiently reclaim objects, as illustrated by code examples demonstrating object creation, deletion, and the behavior of different GC generations.

Garbage CollectionGenerational GCMemory Management
0 likes · 8 min read
Understanding Python Memory Management: Reference Counting, Circular References, and Generational Garbage Collection