Tagged articles

Memory Management

1009 articles · Page 10 of 11
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 20, 2018 · Mobile Development

How to Supercharge Mobile Deep Learning: Model Compression & Engine Optimizations

This article explains how to overcome the performance, size, memory, and compatibility challenges of deploying deep‑learning inference engines on mobile devices by jointly optimizing model compression and engine implementation, covering speed tricks, cache‑friendly coding, multithreading, sparsity, quantization, NEON intrinsics, package size reduction, memory pooling, and reliability techniques.

Memory ManagementNEON SIMDmobile deep learning
0 likes · 22 min read
How to Supercharge Mobile Deep Learning: Model Compression & Engine Optimizations
dbaplus Community
dbaplus Community
May 30, 2018 · Big Data

Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Strategies

This article explains Spark's executor memory architecture, covering on‑heap and off‑heap allocation, static versus unified memory managers, storage and execution memory handling, RDD persistence levels, eviction policies, and shuffle memory usage, providing practical formulas and configuration tips for optimal performance.

Big DataExecutorMemory Management
0 likes · 23 min read
Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Strategies
Xianyu Technology
Xianyu Technology
May 6, 2018 · Mobile Development

Exploring Flutter Memory Management and Image Handling on Android

The article examines Flutter’s memory architecture, compares its Image widget’s graphics‑memory usage to Android ImageView’s Java and native heap behavior across OS versions, and evaluates FlutterView integration strategies—showing reuse saves native memory and offering a pre‑render trick to reduce first‑frame latency.

AndroidDARTFlutterView
0 likes · 11 min read
Exploring Flutter Memory Management and Image Handling on Android
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 27, 2018 · Fundamentals

Mastering Java Core Concepts: ThreadLocal, JVM Memory, GC, Concurrency, and More

This article provides a comprehensive overview of essential Java fundamentals, covering ThreadLocal, the JVM memory model, garbage collection mechanisms, synchronization primitives like synchronized and ReentrantLock, volatile semantics, concurrency utilities, thread pools, class loading, and common data structures such as HashMap and ConcurrentHashMap.

JVMMemory ManagementSpring
0 likes · 31 min read
Mastering Java Core Concepts: ThreadLocal, JVM Memory, GC, Concurrency, and More
Qunar Tech Salon
Qunar Tech Salon
Apr 9, 2018 · Big Data

Analysis of Apache Spark 2.2.1 Memory Management Model

This article examines Spark's unified memory manager in version 2.2.1, detailing on‑heap and off‑heap memory regions, the four on‑heap memory pools, dynamic execution‑storage memory sharing, task memory accounting, and provides concrete calculation examples to explain UI discrepancies and runtime memory limits.

Big DataExecutorMemory Management
0 likes · 13 min read
Analysis of Apache Spark 2.2.1 Memory Management Model
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 27, 2018 · Fundamentals

Analysis of Memory Leaks and Performance Issues in C/C++ Programs

This article examines common memory leak and performance problems in C/C++ applications, categorizing causes such as pointer loss, improper memory release, excessive fragmentation, infinite allocation, and container misuse, and discusses diagnostic techniques, underlying allocation mechanisms, and mitigation strategies.

CPUMemory Managementfragmentation
0 likes · 15 min read
Analysis of Memory Leaks and Performance Issues in C/C++ Programs
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 21, 2018 · Backend Development

20 Essential Java Coding Practices to Boost Performance and Prevent Memory Leaks

This article presents a comprehensive list of Java coding guidelines—including using final classes, reusing objects, favoring local variables, avoiding unnecessary initializations, and optimizing collections—to reduce resource consumption, improve execution speed, and mitigate memory‑leak risks.

Code RefactoringMemory Managementbest practices
0 likes · 14 min read
20 Essential Java Coding Practices to Boost Performance and Prevent Memory Leaks
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2018 · Fundamentals

Understanding Java Reference Types and JVM Memory Management

This article explains Java's four reference types, the JVM's memory layout, object lifecycle states, common garbage‑collection algorithms, collector implementations, heap segmentation, class‑loading mechanics, and includes typical interview questions to help developers master memory management in Java.

Garbage CollectionJVMMemory Management
0 likes · 15 min read
Understanding Java Reference Types and JVM Memory Management
Java Architect Essentials
Java Architect Essentials
Mar 8, 2018 · Fundamentals

Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation

This article explains Java's garbage collection mechanisms, detailing the roles and algorithms of the young generation (copying algorithm), old generation (mark‑sweep and mark‑compact), and permanent generation, along with object promotion criteria, efficiency comparisons, and memory utilization considerations.

Garbage CollectionJVMMemory Management
0 likes · 5 min read
Understanding Java Garbage Collection: Young Generation, Old Generation, and Permanent Generation
Java Captain
Java Captain
Feb 6, 2018 · Backend Development

Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?

This article investigates whether the JVM garbage collector can reclaim singleton instances that remain unused for extended periods, presenting a test program, analyzing GC logs, and explaining the GC root mechanism that keeps static singleton references alive, concluding that HotSpot 1.6 does not collect such objects.

Garbage CollectionHotSpotJVM
0 likes · 6 min read
Will JVM Garbage Collector Reclaim Long-Unused Singleton Objects?
Java Captain
Java Captain
Feb 4, 2018 · Fundamentals

Common Java Interview Questions and Core Language Concepts Explained

This article provides concise explanations of key Java concepts—including object‑oriented features, access modifiers, primitive types, autoboxing, memory areas, garbage collection, class loading, inner classes, cloning, and common interview code snippets—offering a comprehensive reference for Java developers and interview preparation.

JVMJavaMemory Management
0 likes · 42 min read
Common Java Interview Questions and Core Language Concepts Explained
Java Captain
Java Captain
Jan 29, 2018 · Fundamentals

Understanding the Lifecycle of Java Classes in the JVM

This article explains the complete lifecycle of a Java class within the JVM, covering memory areas such as the method, heap, and stack regions, and detailing the five stages—loading, linking, initialization, usage, and unloading—along with code examples illustrating active and passive references.

InitializationJVMJava
0 likes · 16 min read
Understanding the Lifecycle of Java Classes in the JVM
Efficient Ops
Efficient Ops
Jan 24, 2018 · Databases

Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?

Redis and Memcached are compared across network I/O models, supported data structures, memory management, persistence, consistency, and clustering, revealing Redis’s richer feature set and flexibility while highlighting Memcached’s simplicity and speed, helping developers choose the right in‑memory solution for their workloads.

In-Memory DatabaseMemcachedMemory Management
0 likes · 12 min read
Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?
Java Captain
Java Captain
Jan 3, 2018 · Fundamentals

Overview of Java Garbage Collection and Memory Management

This article provides a comprehensive overview of Java's garbage collection mechanism, memory regions, object access methods, allocation strategies, GC algorithms, and the various collectors used in the HotSpot JVM, helping developers understand and optimize Java memory usage.

GC AlgorithmsGarbage CollectionJVM
0 likes · 22 min read
Overview of Java Garbage Collection and Memory Management
Java Captain
Java Captain
Dec 18, 2017 · Fundamentals

Understanding Java Constant Pool: Theory and Practice

This article explains the Java constant pool, distinguishing static and runtime pools, demonstrates string interning behavior with code examples, and shows how to inspect class files and memory settings to observe constant pool effects in the JVM.

Constant PoolJVMMemory Management
0 likes · 9 min read
Understanding Java Constant Pool: Theory and Practice
Java Captain
Java Captain
Dec 14, 2017 · Fundamentals

Understanding Java Garbage Collection Mechanisms and Algorithms

Java's garbage collection mechanism, introduced to simplify memory management, employs various algorithms such as reference counting, tracing (mark‑and‑sweep), compacting, copying, and generational collection, each with distinct advantages, drawbacks, and implementation details, while also addressing common memory‑leak pitfalls.

Garbage CollectionGenerational GCMemory Management
0 likes · 10 min read
Understanding Java Garbage Collection Mechanisms and Algorithms
MaGe Linux Operations
MaGe Linux Operations
Dec 10, 2017 · Fundamentals

Master Linux Fundamentals: From GNU to Kernel Internals Explained

This comprehensive guide covers Linux fundamentals, explaining GNU's role, system components, kernel subsystems, memory addressing, process management, interrupt handling, system calls, synchronization mechanisms, file systems, and device drivers, providing clear answers to common questions for learners and developers.

InterruptsMemory Managementkernel
0 likes · 22 min read
Master Linux Fundamentals: From GNU to Kernel Internals Explained
Java Captain
Java Captain
Dec 5, 2017 · Fundamentals

Understanding the Java Virtual Machine: Class Loading and Runtime Data Area

This article explains the JVM execution process, details the hierarchy and delegation model of class loaders, provides a custom ClassLoader implementation with example code, and describes the structure and function of the runtime data area including heap, method area, stacks, and program counter.

Custom ClassLoaderJVMMemory Management
0 likes · 11 min read
Understanding the Java Virtual Machine: Class Loading and Runtime Data Area
Java Captain
Java Captain
Nov 27, 2017 · Backend Development

Efficiently Reading Large Files in Java without Exhausting Memory

This tutorial demonstrates how to efficiently read large files in Java by avoiding loading all lines into memory, comparing in‑memory approaches with streaming techniques using Scanner and Apache Commons IO, and showing memory usage metrics for each method.

Apache Commons IOFile I/OMemory Management
0 likes · 5 min read
Efficiently Reading Large Files in Java without Exhausting Memory
MaGe Linux Operations
MaGe Linux Operations
Nov 26, 2017 · Fundamentals

Essential Python Basics: 25 Key Concepts Every Developer Should Know

This article provides a comprehensive overview of Python fundamentals, covering its interpreted nature, interactivity, object‑oriented features, benefits, coding standards like PEP8, serialization with pickle, memory management, debugging tools, decorators, data structures, namespaces, lambda functions, testing, and more.

Data StructuresMemory ManagementPickle
0 likes · 9 min read
Essential Python Basics: 25 Key Concepts Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Nov 25, 2017 · Fundamentals

Understanding Linux: Kernel, Memory, Processes, Filesystems, and More

This article provides a comprehensive overview of Linux system architecture, covering the kernel, shell, file system, memory management, process scheduling, device drivers, networking, partitioning, mounting, and common command‑line tools, offering readers a solid foundation in operating‑system fundamentals.

File SystemMemory Managementkernel
0 likes · 34 min read
Understanding Linux: Kernel, Memory, Processes, Filesystems, and More
Qunar Tech Salon
Qunar Tech Salon
Oct 19, 2017 · Databases

Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices

This article explains why Greenplum can encounter out‑of‑memory (OOM) errors, lists the typical causes, and provides detailed recommendations for memory‑related OS and database parameters, statement_mem settings, and the proper use of Greenplum resource queues to achieve stable and efficient cluster operation.

Database ConfigurationGreenplumMemory Management
0 likes · 13 min read
Avoiding OOM in Greenplum: Memory Configuration and Resource Queue Best Practices
dbaplus Community
dbaplus Community
Sep 26, 2017 · Big Data

How to Avoid Common Spark SQL Pitfalls and Boost Performance

This article shares a comprehensive set of practical tips and solutions for common Spark SQL issues—including out‑of‑memory errors, UDF‑induced GC, thread blocking, system‑property initialization, speculation side‑effects, accumulator traps, concurrent job scheduling, and excessive logging—helping engineers improve stability and efficiency of their Spark‑based financial systems.

AccumulatorMemory ManagementPerformance Tuning
0 likes · 15 min read
How to Avoid Common Spark SQL Pitfalls and Boost Performance
ITPUB
ITPUB
Sep 15, 2017 · Fundamentals

How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release

This article explains Linux's two‑level memory model, lazy physical allocation, the glibc malloc implementation, chunk metadata, large‑vs‑small allocations, memory holes, debugging hooks, leak detection with mtrace, and practical ways to measure a process's memory usage via /proc.

Memory Managementdebuggingglibc
0 likes · 15 min read
How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2017 · Fundamentals

Top 11 Python Interview Questions and Hands‑On Code Solutions

This article presents eleven essential Python interview topics, covering quote usage, argument passing, lambda functions, string formatting, memory management, string reversal techniques, list merging, class variable behavior, slice handling, mutable default arguments, and tips for writing Pythonic code, each illustrated with clear examples.

Code examplesLambdaMemory Management
0 likes · 4 min read
Top 11 Python Interview Questions and Hands‑On Code Solutions
21CTO
21CTO
Aug 17, 2017 · Fundamentals

Why Understanding CPU, Memory, and Threads Is Crucial for Modern Software

This article explains the fundamental concepts of how programs run on a computer, covering CPU, memory, I/O, system software layers, process scheduling, virtual memory, multithreading models, synchronization mechanisms, and common pitfalls that affect concurrency and performance.

CPU architectureMemory ManagementOperating Systems
0 likes · 26 min read
Why Understanding CPU, Memory, and Threads Is Crucial for Modern Software
Beike Product & Technology
Beike Product & Technology
Aug 15, 2017 · Mobile Development

Optimizing Android Memory Usage by Avoiding Autoboxing in Long Objects

This article discusses memory optimization in Android apps by addressing excessive object allocations caused by autoboxing Long values, leading to performance issues during feed scrolling. The solution involves implementing a custom data structure to reduce memory usage and improve application responsiveness.

Android optimizationData StructuresMemory Management
0 likes · 8 min read
Optimizing Android Memory Usage by Avoiding Autoboxing in Long Objects
ITPUB
ITPUB
Jul 26, 2017 · Fundamentals

Why Linux Uses Virtual Memory and How It Works

This article explains the need for virtual memory in Linux, describes its implementation mechanisms such as swap space and lazy allocation, and details the typical layout of the kernel and user address spaces, including high‑memory handling and zone mapping.

Memory ManagementVirtual Memorykernel
0 likes · 14 min read
Why Linux Uses Virtual Memory and How It Works
Hujiang Technology
Hujiang Technology
Jul 18, 2017 · Fundamentals

A Crash Course in Memory Management: ArrayBuffer, SharedArrayBuffer, and Manual vs Automatic Management in JavaScript

This article explains the fundamentals of memory management, illustrating why ArrayBuffer and SharedArrayBuffer were added to JavaScript, how automatic garbage collection works, and what manual memory handling with functions like malloc and free entails, especially when using WebAssembly and C.

ArrayBufferGarbage CollectionJavaScript
0 likes · 6 min read
A Crash Course in Memory Management: ArrayBuffer, SharedArrayBuffer, and Manual vs Automatic Management in JavaScript
ITPUB
ITPUB
Jun 23, 2017 · Fundamentals

How to Free Linux Memory Cache and Understand Buffer vs Cache

This guide explains Linux memory reporting with the free command, the roles of buffer and page caches, and provides step‑by‑step instructions to manually release cached memory using /proc/sys/vm/drop_caches, including practical command examples and clarifications of key concepts.

BufferCacheMemory Management
0 likes · 11 min read
How to Free Linux Memory Cache and Understand Buffer vs Cache
ITPUB
ITPUB
Jun 23, 2017 · Databases

Inside MySQL InnoDB Buffer Pool: Architecture, Data Structures, and Optimization

This article provides an in‑depth technical walkthrough of MySQL InnoDB's Buffer Pool, covering its core data structures, instance layout, LRU and Flush list management, memory allocation strategies, read‑ahead/write‑ahead mechanisms, double‑write buffering, and the specialized threads that keep the pool efficient.

Buffer PoolDatabase InternalsInnoDB
0 likes · 39 min read
Inside MySQL InnoDB Buffer Pool: Architecture, Data Structures, and Optimization
Meituan Technology Team
Meituan Technology Team
May 19, 2017 · Mobile Development

iOS Memory Management Seminar by Meituan

The iOS Memory Management Seminar by Meituan provides a comprehensive overview of fundamental concepts, including manual reference counting and automatic reference counting, explains retain cycles and autorelease mechanisms, and delves into advanced memory‑management techniques to help developers write efficient, leak‑free applications.

Memory ManagementMobile DevelopmentTech Seminar
0 likes · 1 min read
iOS Memory Management Seminar by Meituan
Efficient Ops
Efficient Ops
May 14, 2017 · Fundamentals

Understanding Linux Memory Management: Allocation, OOM, and Cache

This article explains Linux kernel memory management, covering process address space layout, memory allocation methods, OOM killer behavior, where different types of memory reside, and both manual and automatic memory reclamation techniques, illustrated with diagrams and command examples.

CacheMemory ManagementOOM
0 likes · 18 min read
Understanding Linux Memory Management: Allocation, OOM, and Cache
ITPUB
ITPUB
May 8, 2017 · Big Data

Master Spark Performance: Practical Tuning Tips and Real‑World Examples

This article explains essential Spark concepts, illustrates common performance bottlenecks, and provides concrete tuning strategies for memory, CPU, serialization, data locality, file I/O, and shuffle reduction, backed by real‑world examples and visual metrics.

Big DataCPU optimizationConfiguration
0 likes · 19 min read
Master Spark Performance: Practical Tuning Tips and Real‑World Examples
ZhiKe AI
ZhiKe AI
Mar 7, 2017 · Fundamentals

Understanding the JVM: Its Position in the JDK and Four Core Components

This article explains where the JVM resides within the JDK, describes its four main components—ClassLoader, Native Interface, Execution Engine, and Runtime Data Areas—and details memory management, garbage‑collection algorithms, collector types, diagnostic commands, and the Java class‑file structure.

Class FileClass LoaderGarbage Collection
0 likes · 21 min read
Understanding the JVM: Its Position in the JDK and Four Core Components
21CTO
21CTO
Feb 23, 2017 · Backend Development

Inside PHP: Understanding the zval Structure and Memory Management

This article explains PHP's core zval structure, how different variable types are stored, and the mechanisms of reference counting, copy‑on‑write, and garbage collection that enable efficient memory management in the Zend engine.

Copy-on-WriteMemory ManagementPHP
0 likes · 12 min read
Inside PHP: Understanding the zval Structure and Memory Management
ITPUB
ITPUB
Jan 25, 2017 · Databases

Master Oracle Hit Ratios and Memory Tuning with Practical SQL Queries

This guide explains how to calculate and interpret key Oracle hit ratios—including library cache, shared pool, buffer cache, data buffer, sort memory, and PGA—provides exact SQL statements for each metric, and offers tuning thresholds and actions to improve database performance.

Database TuningHit RatioMemory Management
0 likes · 7 min read
Master Oracle Hit Ratios and Memory Tuning with Practical SQL Queries
ITPUB
ITPUB
Jan 21, 2017 · Databases

How Redis Implements LRU Eviction: Deep Dive with Python Example

This article explains Redis's LRU eviction mechanism, starting with a brief LRU overview, presenting a Python LRU cache implementation, then detailing Redis's internal LRU clock, object fields, maxmemory policies, and both active and passive eviction processes, highlighting configuration impacts on performance.

Cache EvictionLRUMemory Management
0 likes · 15 min read
How Redis Implements LRU Eviction: Deep Dive with Python Example
Tencent Cloud Developer
Tencent Cloud Developer
Dec 26, 2016 · Databases

Analysis of Redis Design: Network Model, Data Structures, Memory Management, Persistence, and Clustering

The article dissects Redis’s architecture by examining its single‑threaded reactor network model, core data structures and memory‑management tactics, AOF/RDB persistence mechanisms, and master‑slave, Sentinel, and Cluster multi‑node strategies, highlighting how each design choice balances speed, memory usage, and system complexity.

ClusteringMemory ManagementPersistence
0 likes · 16 min read
Analysis of Redis Design: Network Model, Data Structures, Memory Management, Persistence, and Clustering
Meituan Technology Team
Meituan Technology Team
Dec 9, 2016 · Big Data

Memory Usage Analysis of HDFS NameNode Core Data Structures

The article quantitatively breaks down HDFS NameNode memory consumption, showing that the Namespace tree and BlocksMap together dominate heap usage (≈53 GB in large clusters), provides detailed per‑object size estimates for NetworkTopology, INode and block structures, and proposes a simple formula to predict total heap requirements and tuning recommendations.

Big DataHDFSMemory Management
0 likes · 13 min read
Memory Usage Analysis of HDFS NameNode Core Data Structures
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 17, 2016 · Operations

Why Large Redis Instances Cause Disasters and How to Prevent Them

This article examines the operational challenges of oversized Redis instances—including slow failover, prolonged slave resynchronization, network‑induced avalanches, and persistence blocking—and offers practical mitigation strategies such as key expiration, data compression, and using high‑performance alternatives like Pika.

Database operationsMemory ManagementPerformance Optimization
0 likes · 9 min read
Why Large Redis Instances Cause Disasters and How to Prevent Them
ITPUB
ITPUB
Nov 14, 2016 · Fundamentals

How Linux Kernel Turns malloc Calls into Physical Memory: A Simple Guide

This article explains Linux kernel memory management by describing how user‑level malloc allocates virtual memory, how page tables map virtual to physical addresses, and how the hardware‑triggered page‑fault mechanism ultimately provides the needed physical pages.

Memory ManagementPage FaultVirtual Memory
0 likes · 9 min read
How Linux Kernel Turns malloc Calls into Physical Memory: A Simple Guide
ITPUB
ITPUB
Nov 4, 2016 · Databases

Understanding MySQL’s DYNAMIC_STRING: Structure, Initialization, and Manipulation

The article explains MySQL’s DYNAMIC_STRING structure, detailing its fields, how to initialize it with init_dynamic_string, and how functions like dynstr_append_mem, dynstr_trunc, dynstr_realloc, and dynstr_append_os_quoted manage dynamic resizing, truncation, and OS‑quote handling for safe string operations.

C#Dynamic StringMemory Management
0 likes · 8 min read
Understanding MySQL’s DYNAMIC_STRING: Structure, Initialization, and Manipulation
dbaplus Community
dbaplus Community
Oct 30, 2016 · Databases

Memcached vs Redis: Architecture, Memory Management & Persistence

This article provides a detailed comparison of Memcached and Redis by examining their service models, event loops, memory allocation strategies, database structures, persistence mechanisms (RDB and AOF), transaction support, and publish‑subscribe features, highlighting the design choices, trade‑offs, and implementation nuances of each key‑value caching system.

CachingMemcachedMemory Management
0 likes · 35 min read
Memcached vs Redis: Architecture, Memory Management & Persistence
Java Backend Technology
Java Backend Technology
Oct 10, 2016 · Fundamentals

Handles vs Direct Pointers: How Java Accesses Objects Efficiently

This article explains Java's object access mechanisms, detailing how references in the stack point to objects in the heap and type data in the method area, and compares the handle pool approach with direct pointer access, highlighting their respective performance and GC advantages.

Direct PointersJavaMemory Management
0 likes · 4 min read
Handles vs Direct Pointers: How Java Accesses Objects Efficiently
Java Backend Technology
Java Backend Technology
Oct 9, 2016 · Backend Development

Understanding JVM Memory Areas: A Deep Dive into Java Runtime Data

This article explains the JVM as Java's operating system, outlines its class loading process, and provides a detailed walkthrough of each runtime memory region—including program counter, stacks, heap, method area, and direct memory—highlighting their purposes and related error conditions.

Backend DevelopmentJavaMemory Management
0 likes · 13 min read
Understanding JVM Memory Areas: A Deep Dive into Java Runtime Data
ITPUB
ITPUB
Oct 9, 2016 · Fundamentals

Why the Linux Kernel Thrives: Architecture, Modularity, and Extensibility Explained

The article explains how the Linux kernel’s flexible architecture and highly modular design enable massive volunteer contributions, seamless extensibility, and cross‑platform portability by detailing its position in the system, core functions, subsystem interactions, key data structures, and the benefits of its layered, dependency‑driven design.

Memory ManagementOperating SystemsProcess scheduler
0 likes · 19 min read
Why the Linux Kernel Thrives: Architecture, Modularity, and Extensibility Explained
MaGe Linux Operations
MaGe Linux Operations
Oct 6, 2016 · Fundamentals

Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture

This article explains Linux’s hardware‑independent three‑tier physical memory model (node, zone, page) and the three‑level virtual memory page‑table hierarchy (PGD, PMD, PTE), including key macros, structure definitions, and the macros used to walk the tables from a virtual address to a physical page.

LinuxMemory ManagementVirtual Memory
0 likes · 6 min read
Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture
Meituan Technology Team
Meituan Technology Team
Sep 23, 2016 · Fundamentals

Understanding G1 Garbage Collector: Key Concepts, Regions, SATB, RSet, and Pause Prediction Model

The G1 Garbage‑First collector is a server‑side, region‑based Java GC designed for multi‑processor, large‑memory systems that concurrently marks objects using SATB, tracks cross‑region references with RSets, and employs a pause‑prediction model to meet user‑specified pause‑time goals while maintaining high throughput.

G1 GCGarbage CollectionJVM
0 likes · 15 min read
Understanding G1 Garbage Collector: Key Concepts, Regions, SATB, RSet, and Pause Prediction Model
ITPUB
ITPUB
Sep 9, 2016 · Backend Development

How Linux Parses Memory Tags from U‑Boot and Adjusts Boot Parameters

This article explains the two-stage process by which the Linux kernel parses memory information passed from U‑Boot—first via ATAG tags and then through the boot command line—detailing the relevant code, data structures, and practical methods for modifying memory size on embedded platforms.

Boot ParametersLinuxMemory Management
0 likes · 9 min read
How Linux Parses Memory Tags from U‑Boot and Adjusts Boot Parameters
ITPUB
ITPUB
Sep 2, 2016 · Databases

How to Switch Oracle 11g Between ASMM and AMM – Step-by-Step

This guide demonstrates how to switch Oracle Database 11g between Automatic Shared Memory Management (ASMM) and Automatic Memory Management (AMM), covering environment setup, parameter adjustments, spfile/pfile handling, restart procedures, and troubleshooting, with concrete SQL commands and shared‑memory observations.

AMMASMMDatabase Administration
0 likes · 8 min read
How to Switch Oracle 11g Between ASMM and AMM – Step-by-Step
Meituan Technology Team
Meituan Technology Team
Aug 26, 2016 · Big Data

Memory Architecture and Analysis of Hadoop HDFS NameNode

The article dissects Hadoop 2.4.1’s HDFS NameNode memory architecture, detailing how the Namespace, BlockManager, NetworkTopology, and LeaseManager consume the heap, exposing scaling problems when metadata reaches hundreds of millions of inodes and blocks, and recommending file merging, block‑size tuning, federation, or external KV stores to mitigate heap pressure.

Big DataHDFSMemory Management
0 likes · 17 min read
Memory Architecture and Analysis of Hadoop HDFS NameNode
Tencent Music Tech Team
Tencent Music Tech Team
Jul 20, 2016 · Mobile Development

Overview of Android TV Development

Android TV, now dominating China’s rapidly expanding smart‑TV market, offers a large shared screen experience and extensive I/O options, while development mirrors Android phone projects using Android Studio and Gradle, with debugging on boxes or tablets, and requires careful handling of limited CPU/memory, background‑process behavior, and wired‑network connectivity.

Android TVMemory Managementdebugging
0 likes · 8 min read
Overview of Android TV Development
dbaplus Community
dbaplus Community
Jul 6, 2016 · Fundamentals

When Huge Pages Hurt Performance: Risks and Best Practices on NUMA Systems

This article explains the origins and mechanics of Huge Pages, why they are not a universal solution, how they can degrade performance on NUMA architectures, and provides practical testing methods and mitigation strategies for developers and system administrators.

Huge PagesMemory ManagementPerformance Optimization
0 likes · 12 min read
When Huge Pages Hurt Performance: Risks and Best Practices on NUMA Systems
Efficient Ops
Efficient Ops
Jun 5, 2016 · Operations

Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory

This article explains Linux swap fundamentals, the role of swappiness, kswapd behavior, memory watermarks, and related kernel parameters, providing practical guidance on configuring swap priority, zone reclaim, and other settings to optimize system performance under various workloads.

LinuxMemory ManagementWatermarks
0 likes · 20 min read
Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory
Architect
Architect
May 25, 2016 · Big Data

How Flink Manages Memory to Overcome JVM Limitations

The article explains how Flink tackles JVM memory challenges by using proactive memory management, a custom serialization framework, cache‑friendly binary operations, and off‑heap memory techniques to reduce GC pressure, avoid OOM, and improve performance in big‑data workloads.

Big DataFlinkJVM
0 likes · 17 min read
How Flink Manages Memory to Overcome JVM Limitations
Efficient Ops
Efficient Ops
May 3, 2016 · Operations

Do You Really Understand Linux’s free Command and Cache Behavior?

This article demystifies the Linux free command, explains the distinction between buffer and page caches, shows how various caches are reclaimed—or not—through practical tests with tmpfs, shared memory, and mmap, and provides actionable tips for accurately interpreting memory usage on RHEL 6 systems.

LinuxMemory Managementfree command
0 likes · 15 min read
Do You Really Understand Linux’s free Command and Cache Behavior?

Understanding the G1 (Garbage‑First) Garbage Collector in Java

The article explains the design, operation, and performance characteristics of Java's G1 (Garbage‑First) collector, covering its parallelism, generational approach, space‑efficiency, pause‑time predictability, implementation details, execution phases, benchmark results, and practical recommendations for choosing a collector.

Garbage CollectionJVMJava
0 likes · 16 min read
Understanding the G1 (Garbage‑First) Garbage Collector in Java
Java Captain
Java Captain
Apr 9, 2016 · Fundamentals

Key Java Fundamentals: JVM, JRE, JDK, Environment Variables, Data Types, Memory, and More

This article provides concise explanations of core Java concepts including the differences between JVM, JRE and JDK, the roles of PATH and CLASSPATH, variable usage, operators, naming rules, data types, type conversion, Java architecture tiers, cross‑platform nature, signed number representations, functions, overloading, arrays, and memory structure.

Data TypesJREJVM
0 likes · 6 min read
Key Java Fundamentals: JVM, JRE, JDK, Environment Variables, Data Types, Memory, and More
Architect
Architect
Dec 10, 2015 · Databases

Understanding Redis maxmemory Configuration and Approximate LRU Eviction Policies

Redis provides a configurable maxmemory setting to limit memory usage, and offers several eviction policies—including allkeys‑lru, volatile‑lru, and random strategies—implemented via an approximate LRU algorithm whose behavior can be tuned with maxmemory‑samples, allowing administrators to balance performance and memory reclamation.

LRUMemory ManagementRedis
0 likes · 11 min read
Understanding Redis maxmemory Configuration and Approximate LRU Eviction Policies
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Nov 25, 2015 · Backend Development

Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection

This article explains Node.js memory architecture, how the V8 engine allocates and frees memory across code, stack, and heap, demonstrates using process.memoryUsage() to monitor RSS, heapTotal and heapUsed, describes V8’s Scavenge and Mark‑Sweep garbage collectors, and provides practical techniques for detecting and debugging memory leaks with heap snapshots and profiling tools.

Garbage CollectionMemory ManagementNode.js
0 likes · 12 min read
Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection
21CTO
21CTO
Nov 8, 2015 · Backend Development

Inside PHP: Unveiling the Engine, Extensions, SAPI and Memory Management

This article explores PHP's underlying architecture, covering its design philosophy, four‑layer system (Zend engine, extensions, SAPI, and applications), execution flow with opcodes, core data structures like HashTable, and the internal representation of variables via zval, providing deep insight for backend developers.

Memory ManagementPHPZend engine
0 likes · 16 min read
Inside PHP: Unveiling the Engine, Extensions, SAPI and Memory Management
Architect
Architect
Nov 4, 2015 · Backend Development

Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage

The article explains why modern web systems face ever‑increasing concurrent connections, analyzes how front‑end techniques and server‑side configurations such as Apache MPM modes, Nginx, sendfile, and epoll can reduce memory and CPU consumption, and offers practical recommendations for efficient backend architecture.

CPU optimizationMemory ManagementNGINX
0 likes · 17 min read
Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage
21CTO
21CTO
Oct 11, 2015 · Frontend Development

Unveiling JavaScript Closures: How Scope Chains and Memory Work Under the Hood

This article demystifies JavaScript closures by explaining when they are created, how the scope chain and lexical environments operate, why closures persist in memory, and how nested functions and the garbage collector interact, illustrated with clear code examples and diagrams.

FunctionsMemory ManagementScope Chain
0 likes · 16 min read
Unveiling JavaScript Closures: How Scope Chains and Memory Work Under the Hood
WeChat Client Technology Team
WeChat Client Technology Team
Sep 28, 2015 · Fundamentals

Mastering C# Memory Management and WP Leak Detection Techniques

This article explains C#'s managed and unmanaged resource handling, memory regions, garbage‑collection algorithms, generational GC, finalizers, the IDisposable pattern, value vs. reference types, and practical methods for discovering and pinpointing memory leaks in Windows Phone applications.

C#Garbage CollectionIDisposable
0 likes · 16 min read
Mastering C# Memory Management and WP Leak Detection Techniques
21CTO
21CTO
Sep 21, 2015 · Operations

How to Tame High Concurrency: Cutting Web Server Memory and CPU Usage

This article explains why modern web systems face exploding concurrent connections, how richer page interactions and higher browser limits increase server load, and presents front‑end caching, request merging, Apache/Nginx memory‑saving modes, sendfile, and epoll techniques to reduce both memory and CPU consumption.

CPU optimizationHigh concurrencyMemory Management
0 likes · 19 min read
How to Tame High Concurrency: Cutting Web Server Memory and CPU Usage