Tagged articles
950 articles
Page 9 of 10
Xianyu Technology
Xianyu Technology
May 9, 2019 · Mobile Development

Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure

After a 2018 Flutter upgrade caused a mysterious “Ghost Crash” in Xianyu’s app, engineers traced an over‑released NSMutableArray in the accessibility bridge, fixed an illegal dealloc call, added proper checks for iOS Speak Screen, and eliminated the crash through a rapid gray‑scale rollout.

DebuggingMemory Managementaccessibility
0 likes · 13 min read
Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure
Java Captain
Java Captain
May 3, 2019 · Fundamentals

Understanding the Composition of the Java Virtual Machine (JVM)

This article explains the overall architecture of the JVM, details each component of its runtime data area—including program counter, stacks, heap, and method area—and discusses related concepts such as the runtime constant pool and direct memory, providing a comprehensive overview for developers.

JVMJavaMemory Management
0 likes · 9 min read
Understanding the Composition of the Java Virtual Machine (JVM)
Big Data Technology Architecture
Big Data Technology Architecture
Apr 28, 2019 · Big Data

Apache Spark Memory Management: Storage and Execution Memory (Part 2)

This article continues the deep dive into Apache Spark memory management, explaining storage memory handling—including RDD persistence, caching, eviction, and disk spilling—as well as execution memory allocation for multi-tasking and shuffle operations, and detailing Spark’s internal structures such as BlockManager, StorageLevel, and Tungsten page management.

Apache SparkMemory ManagementRDD Persistence
0 likes · 13 min read
Apache Spark Memory Management: Storage and Execution Memory (Part 2)
360 Tech Engineering
360 Tech Engineering
Apr 25, 2019 · Mobile Development

Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Projects

This article explains how Xcode’s static analysis feature can automatically identify common iOS development problems—including localization warnings, logical errors, memory leaks, dead stores, and syntax mistakes—by analyzing code without execution, and shows how to resolve each type of issue.

DebuggingMemory ManagementStatic Analyzer
0 likes · 5 min read
Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Projects
Didi Tech
Didi Tech
Apr 18, 2019 · Backend Development

Deep Dive into Go Slices: Creation, Internals, and Append Mechanics

The article explains Go slices as three‑field descriptors pointing to an underlying array, details creation methods, shows the low‑level runtime representation and assembly for make, describes how append triggers growslice with capacity‑doubling or ~25 % growth and alignment, and clarifies sharing, nil slices, and passing semantics.

AssemblyGoMemory Management
0 likes · 28 min read
Deep Dive into Go Slices: Creation, Internals, and Append Mechanics
360 Tech Engineering
360 Tech Engineering
Apr 11, 2019 · Mobile Development

Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Development

This article explains how Xcode’s static analysis feature can automatically identify text localization problems, logic errors, memory management concerns, dead‑store data issues, and syntax mistakes in iOS projects, and provides step‑by‑step instructions and code examples for fixing each type of warning.

DebuggingLogic ErrorsMemory Management
0 likes · 5 min read
Using Xcode’s Static Analyzer to Detect Localization, Logic, Memory, Data, and Syntax Issues in iOS Development
ITPUB
ITPUB
Apr 10, 2019 · Backend Development

Top 45 Java Performance Tips Every Developer Should Follow

This guide presents 45 practical Java performance optimization techniques—ranging from proper use of singletons and final modifiers to efficient collection handling and avoiding costly operations—helping developers write faster, more memory‑efficient code.

JavaMemory ManagementPerformance Optimization
0 likes · 19 min read
Top 45 Java Performance Tips Every Developer Should Follow
WeChat Client Technology Team
WeChat Client Technology Team
Apr 3, 2019 · Mobile Development

How Matrix for iOS/macOS Boosts App Performance with Crash and Memory Monitoring

Matrix for iOS/macOS is an open‑source performance probing tool from the WeChat team that monitors crashes, jank, and memory issues on iOS and macOS, offering plugins for detailed stack capture and out‑of‑memory reporting, with future plans for power‑consumption tracking and cloud integration.

Crash DetectionMemory ManagementPerformance Monitoring
0 likes · 3 min read
How Matrix for iOS/macOS Boosts App Performance with Crash and Memory Monitoring
Architect's Tech Stack
Architect's Tech Stack
Apr 1, 2019 · Databases

Comprehensive Guide to Common Redis Issues and Their Solutions

This article provides an in‑depth overview of why Redis is used, its drawbacks, the reasons behind its single‑threaded speed, data types and use‑cases, expiration policies, memory eviction strategies, consistency challenges with databases, and practical solutions for cache penetration, cache avalanche, and concurrent key competition.

Data ConsistencyMemory Managementcaching
0 likes · 15 min read
Comprehensive Guide to Common Redis Issues and Their Solutions
58 Tech
58 Tech
Mar 20, 2019 · Operations

JVM GC Tuning for Java Service Migration to a Private Cloud: A Multi‑Round Optimization Case Study

During the migration of a billion‑record Java service from physical servers to a private‑cloud Docker environment, a series of JVM GC tuning steps—including adaptive young generation sizing, larger young generation, reduced concurrent GC threads, and phantom‑reference cleanup—significantly reduced stop‑the‑world pauses and restored service performance.

GC tuningJVMJava
0 likes · 10 min read
JVM GC Tuning for Java Service Migration to a Private Cloud: A Multi‑Round Optimization Case Study
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2019 · Backend Development

Unlocking Redis Memory: Deep Dive into Its Internal Model and Optimization

This article explains Redis's memory model—including memory statistics, allocation, internal data structures like redisObject and SDS, object type encodings, and practical techniques for estimating usage, reducing fragmentation, and optimizing memory consumption—providing developers with actionable insights for high‑performance backend systems.

Backend DevelopmentMemory Managementredis
0 likes · 31 min read
Unlocking Redis Memory: Deep Dive into Its Internal Model and Optimization
21CTO
21CTO
Mar 3, 2019 · Fundamentals

Why Java Still Dominates: Multithreading, Memory Management, and Cross‑Platform Power

This article explains Java's enduring popularity by highlighting its write‑once‑run‑anywhere philosophy, built‑in multithreading, automatic memory management, scalability, cross‑platform capabilities, security features, and its strong presence in enterprise, IoT, mobile, and big‑data applications.

JavaMemory ManagementProgramming Language
0 likes · 8 min read
Why Java Still Dominates: Multithreading, Memory Management, and Cross‑Platform Power
Java Captain
Java Captain
Feb 23, 2019 · Databases

Redis Internal Data Structures and Object Implementations

This article provides a comprehensive overview of Redis, covering its core concepts, common use cases, and detailed explanations of internal objects such as redisObject, dictEntry, SDS, and the underlying data structures for String, List, Hash, Set, and ZSet, including code snippets and performance characteristics.

C programmingIn-Memory DatabaseMemory Management
0 likes · 16 min read
Redis Internal Data Structures and Object Implementations
Meituan Technology Team
Meituan Technology Team
Feb 14, 2019 · Fundamentals

Understanding Java sun.misc.Unsafe: API, Usage, and Applications

The article explains Java’s sun.misc.Unsafe class, detailing how to safely obtain its singleton instance, describing its low‑level memory, CAS, thread, class, and object operations, and outlining common high‑performance use cases while warning about the significant risks of misuse.

JavaMemory Managementconcurrency
0 likes · 19 min read
Understanding Java sun.misc.Unsafe: API, Usage, and Applications
Java Captain
Java Captain
Jan 28, 2019 · Fundamentals

Understanding ArrayList and LinkedList Internals During a Java Interview

The article recounts a Java interview where the interviewer explains the memory layout, random‑access capability, and time‑complexity differences between ArrayList (array‑based) and LinkedList (node‑based), using clear examples and code snippets to illustrate fundamental data‑structure concepts.

ArrayListJavaLinkedList
0 likes · 8 min read
Understanding ArrayList and LinkedList Internals During a Java Interview
MaGe Linux Operations
MaGe Linux Operations
Jan 22, 2019 · Fundamentals

Unlocking Linux: Core Components, Memory, Processes, and File Systems Explained

This article provides a comprehensive overview of Linux’s core architecture, detailing the kernel, memory management, process scheduling, file systems, VFS, device drivers, networking, shells, partitioning, mounting, and essential commands, offering readers a solid foundation for understanding and working with Linux systems.

LinuxMemory Managementfile system
0 likes · 33 min read
Unlocking Linux: Core Components, Memory, Processes, and File Systems Explained
MaGe Linux Operations
MaGe Linux Operations
Jan 18, 2019 · Fundamentals

Unlock Linux Memory: From Address Spaces to Allocation Algorithms

This article provides a comprehensive guide to Linux memory management, covering memory organization, address spaces, MMU translation, allocation algorithms such as the buddy system and slab allocator, usage scenarios, common pitfalls, and practical tools for monitoring and debugging memory usage.

Allocation AlgorithmsLinuxMemory Management
0 likes · 19 min read
Unlock Linux Memory: From Address Spaces to Allocation Algorithms
JD Tech
JD Tech
Jan 11, 2019 · Big Data

Spark Memory Management and Tuning Practices for Large-Scale Billing Systems

This article explains how Spark's memory management models and configuration parameters can be tuned to handle massive billing data efficiently, covering StaticMemoryManager vs UnifiedMemoryManager, storage and shuffle memory fractions, common OOM and file‑not‑found issues, and practical performance‑optimisation tips.

Memory ManagementSparkdistributed computing
0 likes · 9 min read
Spark Memory Management and Tuning Practices for Large-Scale Billing Systems
dbaplus Community
dbaplus Community
Jan 6, 2019 · Databases

Inside Redis: How Memory Structures and Encoding Power Its 5 Data Types

This article explains how Redis stores and encodes its five data types by using various in‑memory data structures such as SDS strings, linked lists, quicklists, hash tables, skip‑lists, intsets and zip‑lists, and it also covers object mapping, expiration policies, LRU eviction, and the RDB/AOF persistence mechanisms.

Data StructuresMemory ManagementPersistence
0 likes · 25 min read
Inside Redis: How Memory Structures and Encoding Power Its 5 Data Types
ITPUB
ITPUB
Dec 28, 2018 · Fundamentals

Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls

This comprehensive guide explores Linux memory architecture, address spaces, allocation algorithms like the buddy system and slab allocator, DMA handling, user‑space allocation functions, and practical pitfalls, providing developers with essential insights to optimize performance and avoid common errors.

DMALinuxMemory Management
0 likes · 20 min read
Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls
Efficient Ops
Efficient Ops
Dec 27, 2018 · Fundamentals

Why Python Lists Aren’t Pre‑Allocated: Inside CPython’s Memory Management

Python’s list type appears flexible, but its underlying CPython implementation uses a dynamic resizing strategy without a pre‑allocated memory pool, allocating memory on demand via list_resize and PyMem_RESIZE, which this article explains through code analysis, memory size measurements, and practical recommendations.

CPythonListMemory Management
0 likes · 13 min read
Why Python Lists Aren’t Pre‑Allocated: Inside CPython’s Memory Management
Java Captain
Java Captain
Dec 17, 2018 · Fundamentals

Understanding Java Heap and Stack Memory with Examples

This article explains the differences between Java heap and stack memory, their advantages and disadvantages, and demonstrates how string objects are stored and shared using code examples that illustrate memory allocation and reference behavior.

Garbage CollectionHeapJava
0 likes · 4 min read
Understanding Java Heap and Stack Memory with Examples
Java Backend Technology
Java Backend Technology
Dec 14, 2018 · Fundamentals

Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive

This article investigates why objects allocated in a Java method are not immediately reclaimed after the method exits, demonstrating through experiments how JVM heap regions, especially the Eden space, influence garbage collection timing, and provides practical steps to control memory and CPU usage by deliberately allocating small and large objects.

Garbage CollectionJVMJava
0 likes · 8 min read
Why Does Your JVM Keep Objects Alive After Method Returns? A Memory & GC Deep Dive
Meituan Technology Team
Meituan Technology Team
Nov 1, 2018 · Mobile Development

Understanding Swift Performance: Allocation, Reference Counting, and Dispatch

Swift performance hinges on allocation choices, ARC overhead, and method dispatch, so using stack‑allocated structs instead of heap‑allocated classes, applying final or private to force static dispatch, leveraging protocol‑oriented containers, specializing generics, and enabling whole‑module optimization together yield faster, more efficient iOS code.

DispatchGenericsMemory Management
0 likes · 26 min read
Understanding Swift Performance: Allocation, Reference Counting, and Dispatch
MaGe Linux Operations
MaGe Linux Operations
Sep 7, 2018 · Operations

Why Linux ‘Ate My RAM’: Understanding free, buffers, and cache

Linux appears to consume most of a system’s RAM, but the free command’s output, including buffers and cache, actually reflects memory used for performance optimization; this article explains the distinction, how to interpret free’s columns, and demonstrates the impact with a 1 GB file read experiment.

BuffersCacheLinux
0 likes · 7 min read
Why Linux ‘Ate My RAM’: Understanding free, buffers, and cache
MaGe Linux Operations
MaGe Linux Operations
Aug 26, 2018 · Fundamentals

What Is Python? 25 Essential Q&A for Beginners

This article provides a comprehensive overview of Python, covering its nature as an interpreted, interactive, object‑oriented language, key benefits, coding conventions, memory management, debugging tools, core concepts like decorators, data structures, namespaces, lambda functions, testing, and many practical programming details for newcomers.

Data StructuresDebuggingMemory Management
0 likes · 10 min read
What Is Python? 25 Essential Q&A for Beginners
21CTO
21CTO
Aug 1, 2018 · Fundamentals

Why Virtual Memory and Paging Make Your Computer Faster and Safer

This article explains how memory serves as the main storage for processes, introduces the concepts of virtual memory and paging, and describes how page tables and multi‑level paging enable efficient address translation, isolation, and sharing in modern operating systems.

Memory ManagementPagingVirtual Memory
0 likes · 12 min read
Why Virtual Memory and Paging Make Your Computer Faster and Safer
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2018 · Fundamentals

Understanding Memory, Virtual Memory, and Paging in Linux

This article explains how computer memory works, covering physical memory characteristics, address spaces, RAM's random access nature, virtual memory translation, paging mechanisms, page size queries, and multi‑level page tables that enable efficient and secure memory management in Linux.

LinuxMemory ManagementOperating System
0 likes · 13 min read
Understanding Memory, Virtual Memory, and Paging in Linux
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Databases

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.

CMemory ManagementRehash
0 likes · 26 min read
Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior
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 ManagementThreadPool
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 CollectionHeapJVM
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.

AlgorithmsGarbage CollectionJVM
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.

AlgorithmsGarbage CollectionGenerational GC
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.

InterruptsKernelMemory Management
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 IOMemory Managementfile I/O
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 StructuresDebuggingMemory Management
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.

KernelMemory Managementfile system
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 ManagementSpark
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.

DebuggingMemory Managementglibc
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 optimizationAutoboxingData Structures
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.

KernelMemory ManagementSwap
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.

CacheMemory Managementbuffer
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.

Database InternalsInnoDBLRU
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.

BackendCopy-on-WriteMemory Management
0 likes · 12 min read
Inside PHP: Understanding the zval Structure and Memory Management