Skip to content
Tagged articles

Memory

423 articles · Page 4 of 5
Beike Product & Technology
Beike Product & Technology
Sep 8, 2021 · Mobile Development

iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15

This article explains the fundamentals of iOS crashes, describes exception types such as Mach and Signal, details stack memory layout and recovery techniques, and walks through several real‑world crash investigations—including WKWebView, ImageIO, and fishhook issues—culminating in practical mitigation steps that reduced crash rates by over 60%.

DebuggingMachExceptionMemory
0 likes · 17 min read
iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15
Java Architect Essentials
Java Architect Essentials
Aug 30, 2021 · Databases

How to Monitor and Optimize Redis Performance

This article explains how to use Redis INFO commands to track memory usage, command processing, latency, key eviction and fragmentation, and provides practical tips such as adjusting maxmemory, using hash structures, pipelines, and slowlog to diagnose and improve Redis performance.

Memorylatencymonitoring
0 likes · 23 min read
How to Monitor and Optimize Redis Performance
dbaplus Community
dbaplus Community
Aug 30, 2021 · Operations

How to Systematically Diagnose High RSS Memory Usage in Java Services

This article presents a step‑by‑step methodology for troubleshooting high RSS memory consumption in Java applications, covering heap size assessment, ARENA region analysis, native memory tracking, off‑heap memory checks, and automation tools to streamline the entire diagnostic process.

JVMJavaMemory
0 likes · 15 min read
How to Systematically Diagnose High RSS Memory Usage in Java Services
dbaplus Community
dbaplus Community
Aug 22, 2021 · Operations

Master Elasticsearch Performance: Memory, CPU, Shards, and Cluster Tuning

This guide presents practical best‑practice configurations for Elasticsearch clusters in production, covering JVM heap sizing, CPU thread‑pool tuning, optimal shard counts, replica strategies, hot‑warm node architecture, node role settings, common troubleshooting tips, cache handling, refresh intervals, and essential monitoring APIs.

ClusterElasticsearchMemory
0 likes · 14 min read
Master Elasticsearch Performance: Memory, CPU, Shards, and Cluster Tuning
Liangxu Linux
Liangxu Linux
Jul 5, 2021 · Fundamentals

Understanding x86 Linux Fundamentals: From Intel 8086 to CPU Addressing

This article provides a comprehensive introduction to the fundamentals of x86 Linux, covering the historic Intel 8086 processor, segment descriptors, main memory organization, registers, bus architecture, CPU addressing modes, control mechanisms, and the basic instruction execution cycle.

CPULinuxMemory
0 likes · 15 min read
Understanding x86 Linux Fundamentals: From Intel 8086 to CPU Addressing
dbaplus Community
dbaplus Community
May 23, 2021 · Databases

Hidden Redis Pitfalls That Can Crash Your System

This article enumerates common Redis pitfalls—including unexpected key expiration loss, command‑induced blocking, memory‑intensive bitmap operations, AOF and RDB persistence issues, and master‑slave replication quirks—explaining their causes, real‑world impact, and practical mitigation steps.

CommandMemoryPersistence
0 likes · 29 min read
Hidden Redis Pitfalls That Can Crash Your System
Java High-Performance Architecture
Java High-Performance Architecture
May 22, 2021 · Backend Development

Boost Elasticsearch Query Speed: Simple Queries & OS Cache Tricks

This article explains how Elasticsearch processes queries across shards, identifies two key performance bottlenecks—query computation time and segment file I/O—and offers practical optimization strategies such as simplifying query logic, maximizing OS file cache usage, increasing memory, reducing stored data, and applying hot‑cold data separation.

ElasticsearchFile CacheI/O
0 likes · 7 min read
Boost Elasticsearch Query Speed: Simple Queries & OS Cache Tricks
Senior Brother's Insights
Senior Brother's Insights
May 5, 2021 · Fundamentals

What Is the True Maximum Length of a Java String?

This article explores the theoretical and practical limits of Java String length, analyzing JDK source code, integer ranges, JVM constant pool constraints, and runtime memory considerations to reveal why the maximum size is 2^31‑1 characters (≈4 GB) at runtime but only 65 534 characters at compile time.

JVMJavaLength Limit
0 likes · 8 min read
What Is the True Maximum Length of a Java String?
Efficient Ops
Efficient Ops
Apr 27, 2021 · Operations

Diagnosing Common Java Server Issues: CPU, Memory, Disk & Network

This guide walks through systematic troubleshooting of Java server problems—including CPU spikes, memory leaks, disk I/O bottlenecks, and network timeouts—by using native Linux tools and JVM utilities such as ps, top, jstack, jstat, iostat, vmstat, and netstat to pinpoint root causes and apply targeted fixes.

CPUGCJava
0 likes · 22 min read
Diagnosing Common Java Server Issues: CPU, Memory, Disk & Network
Liangxu Linux
Liangxu Linux
Mar 21, 2021 · Operations

How to Monitor Linux CPU, Memory, and Disk I/O with a Bash Script

This article provides a step‑by‑step Bash script that gathers Linux server IP, CPU core count, utilization percentages, context switches, load averages, memory statistics, swap usage, and disk I/O metrics, explaining each command and its output for effective system monitoring.

Memorybashdisk
0 likes · 18 min read
How to Monitor Linux CPU, Memory, and Disk I/O with a Bash Script
Architecture Digest
Architecture Digest
Feb 28, 2021 · Databases

Understanding Redis Memory Limits and Eviction Policies

This article explains how to configure Redis's maximum memory, describes the various eviction policies—including noeviction, allkeys‑lru, volatile‑lru, random and ttl strategies—covers how to query and set these policies, and details the LRU and LFU algorithms used by Redis for cache management.

LFULRUMemory
0 likes · 9 min read
Understanding Redis Memory Limits and Eviction Policies
High Availability Architecture
High Availability Architecture
Jan 22, 2021 · Databases

Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues

Redis can experience latency spikes due to factors such as complex commands, big keys, expiration patterns, memory limits, fork overhead, AOF persistence, CPU binding, swap usage, memory fragmentation, and network saturation, and this article provides a systematic troubleshooting methodology and practical optimization solutions for each scenario.

MemoryRedisdatabase
0 likes · 38 min read
Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues
Top Architect
Top Architect
Dec 30, 2020 · Databases

Redis Latency Analysis: Common Causes and How to Diagnose Them

This article explains why Redis latency can suddenly increase, covering high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network overload, and provides concrete diagnostic commands and mitigation strategies.

MemoryRedislatency
0 likes · 18 min read
Redis Latency Analysis: Common Causes and How to Diagnose Them
Top Architect
Top Architect
Dec 29, 2020 · Operations

Comprehensive Guide to Java Runtime Error Checking: CPU, Disk, Memory, GC, and Network Troubleshooting

This article provides a step‑by‑step guide for diagnosing Java production issues by systematically checking CPU usage, disk health, memory consumption, garbage‑collection behavior, and network problems using common Linux tools and JVM utilities such as ps, top, jstack, jstat, vmstat, iostat, free, jmap, and tcpdump.

CPUGarbage CollectionJava
0 likes · 21 min read
Comprehensive Guide to Java Runtime Error Checking: CPU, Disk, Memory, GC, and Network Troubleshooting
Programmer DD
Programmer DD
Dec 16, 2020 · Fundamentals

How Much Memory Does a Java Object Really Use? A Deep Dive

Understanding the actual memory footprint of Java objects—including headers, class pointers, fields, alignment, and array overhead—reveals hidden waste, and the article offers practical rules and code examples to reduce memory usage by preferring primitive types, smaller fields, arrays over collections, and other tricks.

JavaMemoryObject Size
0 likes · 8 min read
How Much Memory Does a Java Object Really Use? A Deep Dive
Top Architect
Top Architect
Oct 21, 2020 · Backend Development

Design and Optimization of High‑Concurrency Push Services Using Netty

This article analyzes common questions about Netty‑based push services, presents a real‑world IoT case study, and provides detailed design guidelines—including kernel tuning, connection handling, heartbeat configuration, buffer management, memory pooling, logging pitfalls, TCP and JVM tuning—to help engineers build stable, scalable, and high‑performance million‑connection push systems.

MemoryNettyPush Service
0 likes · 24 min read
Design and Optimization of High‑Concurrency Push Services Using Netty
Architect's Tech Stack
Architect's Tech Stack
Oct 13, 2020 · Fundamentals

Five Common Java String Interview Questions with Detailed Answers

This article walks through five typical Java String interview questions, providing code examples, execution results, and in‑depth explanations of reference equality, the string constant pool, object creation, and compile‑time versus runtime concatenation to help readers master Java string behavior.

InterviewMemoryString
0 likes · 8 min read
Five Common Java String Interview Questions with Detailed Answers
Top Architect
Top Architect
Sep 27, 2020 · Operations

Comprehensive Guide to Java Runtime Error Checking and Troubleshooting (CPU, Memory, Disk, Network, GC)

This article provides a systematic, step‑by‑step guide for diagnosing and resolving Java runtime problems—including CPU spikes, memory leaks, disk I/O bottlenecks, network timeouts, and GC inefficiencies—by using native Linux tools and JVM utilities such as top, ps, jstack, jmap, jstat, iostat, vmstat, pidstat, netstat, ss, and tcpdump.

CPUGCJava
0 likes · 22 min read
Comprehensive Guide to Java Runtime Error Checking and Troubleshooting (CPU, Memory, Disk, Network, GC)
Java Backend Technology
Java Backend Technology
Sep 12, 2020 · Databases

Why Redis Gets Slow: Common Latency Causes and How to Diagnose Them

This article explains the typical reasons 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 practical steps to monitor, identify, and mitigate each issue.

Memorymonitoringslowlog
0 likes · 18 min read
Why Redis Gets Slow: Common Latency Causes and How to Diagnose Them
ITPUB
ITPUB
Sep 10, 2020 · Fundamentals

Why Does ‘free -m’ Show Much More Used Memory Than ‘ps aux’ RSS?

The article explains why Linux’s free command reports far higher used memory than the RSS values shown by ps aux, by breaking down buffers, cache, slab allocations, page tables and shared libraries, and provides shell scripts to calculate each component.

LinuxMemoryRSS
0 likes · 10 min read
Why Does ‘free -m’ Show Much More Used Memory Than ‘ps aux’ RSS?
JD Cloud Developers
JD Cloud Developers
Sep 9, 2020 · Fundamentals

Unlocking JVM Secrets: A Visual Guide to Java Memory and Execution

This article demystifies the JVM’s memory architecture and execution engine, walking through class loading, the runtime data areas, JIT versus interpreter, and native interactions, complemented by clear diagrams to help developers understand how Java manages memory and executes code.

ClassLoadingJITJVM
0 likes · 7 min read
Unlocking JVM Secrets: A Visual Guide to Java Memory and Execution
Java Captain
Java Captain
Sep 1, 2020 · Operations

Comprehensive Guide to Java Online Fault Diagnosis: CPU, Disk, Memory, GC, and Network Issues

This article provides a detailed, step‑by‑step methodology for diagnosing and resolving common Java production problems—including CPU spikes, disk bottlenecks, memory leaks, garbage‑collection anomalies, and network timeouts—by leveraging native Linux tools and JVM utilities such as ps, top, jstack, jmap, jstat, iostat, vmstat, pidstat, and netstat.

CPUGCJava
0 likes · 19 min read
Comprehensive Guide to Java Online Fault Diagnosis: CPU, Disk, Memory, GC, and Network Issues
Architects' Tech Alliance
Architects' Tech Alliance
Jul 21, 2020 · Fundamentals

Key Features and Advantages of DDR5 DRAM

The article provides a comprehensive overview of DDR5 DRAM technology, detailing its higher density, lower voltage, increased data rates, enhanced reliability features, and its suitability for servers, cloud computing, networking, laptops, desktops, and consumer SoC applications.

DDR5DRAMMemory
0 likes · 8 min read
Key Features and Advantages of DDR5 DRAM
MaGe Linux Operations
MaGe Linux Operations
Jun 14, 2020 · Databases

Mastering Redis Monitoring: Key Metrics, Commands, and Performance Tips

This guide details Redis monitoring metrics across performance, memory, activity, persistence, and error categories, explains how to retrieve them with the INFO command, outlines useful monitoring tools, provides slowlog configuration examples, and includes command‑line snippets for performance testing and metric inspection.

MemoryMetricsdatabase
0 likes · 6 min read
Mastering Redis Monitoring: Key Metrics, Commands, and Performance Tips
Programmer DD
Programmer DD
Jun 6, 2020 · Backend Development

5 Java String Interview Questions Explained with Memory Diagrams

This article walks through five common Java String interview questions, showing code examples, output results, and detailed memory‑layout analyses to explain why each comparison behaves as it does, helping readers master string handling in Java.

JDKJavaMemory
0 likes · 9 min read
5 Java String Interview Questions Explained with Memory Diagrams
Efficient Ops
Efficient Ops
Jun 3, 2020 · Operations

Understanding Kubernetes vs VM Monitoring: CPU, Memory, Disk & Network

This article compares monitoring metrics for CPU, memory, disk, and network between traditional KVM-based servers and Kubernetes pods, explaining why their indicators differ, how resource isolation works, and what key metrics users should watch to diagnose performance bottlenecks.

CPUKubernetesMemory
0 likes · 11 min read
Understanding Kubernetes vs VM Monitoring: CPU, Memory, Disk & Network
Open Source Linux
Open Source Linux
May 24, 2020 · Operations

Understanding Server Hardware: Power, CPU, Memory, Disk, RAID & More

This article explains the essential components of a server—including power supply, CPU, RAM, storage, RAID cards, remote management modules, and motherboard—detailing their functions, typical configurations, and best‑practice considerations for reliable enterprise operations.

CPUMemoryRAID
0 likes · 9 min read
Understanding Server Hardware: Power, CPU, Memory, Disk, RAID & More
Efficient Ops
Efficient Ops
May 12, 2020 · Operations

Master Java Server Troubleshooting: CPU, Memory, Disk, GC & Network Issues

This guide walks you through systematic troubleshooting of Java server incidents covering CPU, memory, disk, garbage collection, and network problems, offering step‑by‑step command‑line techniques, analysis of thread stacks, GC logs, native memory tracking, and TCP diagnostics to pinpoint root causes efficiently.

CPUGCJava
0 likes · 19 min read
Master Java Server Troubleshooting: CPU, Memory, Disk, GC & Network Issues
Architects' Tech Alliance
Architects' Tech Alliance
Feb 6, 2020 · Fundamentals

How Computer Memory Evolved: From SDRAM to DDR4 and Modern GPU Memory

This article explains the historical shift from early north‑bridge memory buses to integrated CPU memory controllers, details the progression of SDRAM to DDR4—including voltage, prefetch and feature changes—covers future trends in capacity, voltage and frequency, and compares system memory bandwidth with GPU memory technologies such as GDDR5 and HBM.

DDRGPUMemory
0 likes · 11 min read
How Computer Memory Evolved: From SDRAM to DDR4 and Modern GPU Memory
macrozheng
macrozheng
Feb 4, 2020 · Fundamentals

Unlocking Computer Fundamentals: From CPU Basics to Assembly Language Explained

Explore the essential building blocks of modern computing, covering CPU architecture, memory hierarchy, binary operations, compression techniques, operating system fundamentals, and assembly language, with clear explanations, diagrams, and code examples that demystify how hardware and software interact at the lowest level.

CPUCompressionMemory
0 likes · 74 min read
Unlocking Computer Fundamentals: From CPU Basics to Assembly Language Explained
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 23, 2019 · Big Data

Understanding and Resolving Spark OOM Issues: Memory Model, Causes, and Optimization Techniques

This article explains Spark's memory architecture, identifies common out‑of‑memory scenarios such as map‑stage and shuffle‑stage overloads, and provides practical solutions and performance‑tuning tips—including repartitioning, off‑heap storage, code optimizations, and key configuration parameters—to prevent and mitigate OOM errors in large‑scale data processing.

MemoryOOMOptimization
0 likes · 15 min read
Understanding and Resolving Spark OOM Issues: Memory Model, Causes, and Optimization Techniques
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 6, 2019 · Fundamentals

Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing

This article explains the internal representation of Go slices, how they are created and initialized, the mechanics of append and capacity growth, slicing behavior, deep‑copy using the copy function, and whether slices are passed by value or reference, all illustrated with source code and assembly excerpts.

COPYGoMemory
0 likes · 24 min read
Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing
Programmer DD
Programmer DD
Oct 7, 2019 · Backend Development

How Many Threads Can a Java JVM Actually Handle? Limits, Experiments, and Tips

This article explores the maximum number of threads a Java Virtual Machine can support, examining factors such as CPU, operating system, JVM version, and memory, and presents real‑world experiments, code examples, and theoretical calculations to help developers understand and manage thread limits effectively.

JVMJavaMemory
0 likes · 6 min read
How Many Threads Can a Java JVM Actually Handle? Limits, Experiments, and Tips
dbaplus Community
dbaplus Community
Sep 23, 2019 · Databases

Why Short Connections, Frequent INFO Calls, and Pipelines Hurt Redis Performance (and How to Fix It)

This article examines three common Redis performance pitfalls—short-lived connections, frequent INFO commands, and misuse of pipelines—by presenting real‑world experiments, profiling data, and source‑level analysis, then offers concrete code changes and best‑practice recommendations to reduce CPU and memory overhead.

CPUMemoryOptimization
0 likes · 15 min read
Why Short Connections, Frequent INFO Calls, and Pipelines Hurt Redis Performance (and How to Fix It)
Efficient Ops
Efficient Ops
May 28, 2019 · Operations

Speed Up a Slow Linux PC: Check CPU, Services, Memory, and Disk I/O

This guide walks you through essential Linux performance diagnostics—examining CPU details, startup services, load averages, memory usage, and disk I/O—providing commands and practical solutions to identify bottlenecks and improve system responsiveness for your workstation.

CPUMemorydisk-io
0 likes · 7 min read
Speed Up a Slow Linux PC: Check CPU, Services, Memory, and Disk I/O
21CTO
21CTO
May 24, 2019 · Backend Development

How Many Threads Can a JVM Actually Support? Limits, Factors, and Real-World Tests

The maximum number of Java Virtual Machine threads depends on CPU, operating system, JVM version, memory allocation, and configuration, with practical limits ranging from a few thousand on modest hardware to over ten thousand on high‑end systems, as demonstrated by several real‑world experiments.

ConcurrencyJVMJava
0 likes · 5 min read
How Many Threads Can a JVM Actually Support? Limits, Factors, and Real-World Tests
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 19, 2019 · Backend Development

Eight Little‑Known Java Facts You Might Not Know

This article explores eight obscure Java language facts—from the unused goto keyword and integer caching to Unicode‑escaped comments, flexible array declarations, hidden object creation with new String, JVM instruction reordering, and a study showing most Java code adds little value—providing concise explanations and code examples for each.

ConcurrencyJavaMemory
0 likes · 8 min read
Eight Little‑Known Java Facts You Might Not Know
Programmer DD
Programmer DD
Dec 12, 2018 · Databases

Essential Redis Health Metrics Every Engineer Should Monitor

This guide explains how to monitor critical Redis health indicators—including ping response, client connections, blocked clients, memory usage, fragmentation, cache hit rate, OPS, persistence status, expired keys, and slow logs—to ensure optimal performance and prevent failures.

CacheMemoryPersistence
0 likes · 7 min read
Essential Redis Health Metrics Every Engineer Should Monitor
Beike Product & Technology
Beike Product & Technology
Nov 9, 2018 · Backend Development

Why Go Is Fast: 5 Key Language Features Explained

This article translates David Cheney's 2014 Gocon talk, detailing five Go language features—efficient value handling, inlining, escape analysis, goroutine scheduling, and dynamic stack management—that together explain Go's performance advantages, memory usage, and concurrency model.

ConcurrencyEscape AnalysisGo
0 likes · 15 min read
Why Go Is Fast: 5 Key Language Features Explained
JD Tech
JD Tech
Sep 26, 2018 · Operations

Root Cause Analysis and Mitigation of Sysmon High CPU and Memory Usage

This article investigates why the Sysinternals Sysmon monitoring tool occasionally consumes an entire CPU core and rapidly increases memory usage, analyzes thread creation, handle explosion, and registry settings, reproduces the issue on any machine, and proposes practical solutions to stop the recursive behavior.

Memoryperformancesysmon
0 likes · 16 min read
Root Cause Analysis and Mitigation of Sysmon High CPU and Memory Usage
Architecture Talk
Architecture Talk
Sep 24, 2018 · Backend Development

How to Stop PHPExcel Exports from Timing Out or Exhausting Memory

This article explains why PHPExcel data exports often hit timeout or memory limits, analyzes the underlying causes, and provides practical solutions such as cell caching, memory‑efficient coding, and asynchronous queue processing to ensure reliable export performance.

Async QueueBackendExport
0 likes · 7 min read
How to Stop PHPExcel Exports from Timing Out or Exhausting Memory
Architects' Tech Alliance
Architects' Tech Alliance
Apr 8, 2018 · Fundamentals

Understanding High‑Performance Computing (HPC): Market Size, Technologies, Metrics, and Core Components

This article provides a comprehensive overview of high‑performance computing, covering its rapid market growth, definition, classification into high‑throughput and distributed computing, key hardware components such as CPUs, GPUs, memory types, networking technologies like InfiniBand, performance metrics, benchmarking tools, and parallel file systems.

GPUHPCHigh-Performance Computing
0 likes · 11 min read
Understanding High‑Performance Computing (HPC): Market Size, Technologies, Metrics, and Core Components
Java Captain
Java Captain
Mar 2, 2018 · Fundamentals

Understanding Java String, StringBuilder, and StringBuffer: Differences, Performance, and Interview Questions

This article explains the internal implementation of Java's String class, compares it with StringBuilder and StringBuffer, demonstrates performance differences through benchmark code, and provides common interview questions with detailed answers, helping developers choose the appropriate class for various scenarios.

InterviewJavaMemory
0 likes · 16 min read
Understanding Java String, StringBuilder, and StringBuffer: Differences, Performance, and Interview Questions
Java Captain
Java Captain
Jan 27, 2018 · Fundamentals

Key Java Interview Questions and Answers (2017 Edition)

This article compiles essential Java interview questions covering topics such as switch statements, equality operators, object methods, reference types, hashCode, string handling, overriding, abstract classes, XML parsing, thread control, memory layout, polymorphism, garbage collection, and collections, providing concise explanations to help job seekers prepare effectively.

Garbage CollectionInterviewJava
0 likes · 16 min read
Key Java Interview Questions and Answers (2017 Edition)
360 Quality & Efficiency
360 Quality & Efficiency
Nov 23, 2017 · Operations

Ten Micro‑Metrics to Strengthen Performance Testing Reports

This article explains why traditional macro performance metrics are insufficient, introduces ten essential micro‑metrics covering memory, thread, and network aspects, and shows how to capture them using GC logs, thread dumps, and tools like netstat or open‑source APM solutions.

APMMemorymicro metrics
0 likes · 8 min read
Ten Micro‑Metrics to Strengthen Performance Testing Reports
21CTO
21CTO
Aug 16, 2017 · Operations

Mastering Server Performance: CPU, Memory, and I/O Optimization Techniques

This guide explains how to assess and improve server performance by understanding key metrics such as CPU utilization, memory management, and disk I/O, introducing fundamental concepts, analysis methodologies like 5W2H and load‑characteristic summarization, and recommending practical Linux tools such as uptime, vmstat, top, perf, and DTrace for comprehensive troubleshooting.

CPUI/OMemory
0 likes · 19 min read
Mastering Server Performance: CPU, Memory, and I/O Optimization Techniques