Tagged articles

memory

381 articles · Page 4 of 4
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.

Stringequalityinterview
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.

Monitoringmemoryslowlog
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.

FreeLinuxRSS
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.

DDR5DRAMServer
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.

Metricsdatabasememory
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.

JDKJavaString
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.

CPUMonitoringkubernetes
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.

CPURAIDServer Hardware
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.

Computer ArchitectureDDRGPU
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.

AssemblyCPUbinary
0 likes · 74 min read
Unlocking Computer Fundamentals: From CPU Basics to Assembly Language Explained
Refining Core Development Skills
Refining Core Development Skills
Dec 30, 2019 · Fundamentals

Unlocking Memory Secrets: Why Random IO Slows Down and How to Optimize It

This article explores the physical structure of RAM, compares random and sequential memory I/O performance, examines real‑world bandwidth versus advertised specs, delves into NUMA latency differences, and shows practical optimization techniques for PHP7 and Redis based on deep hardware and kernel knowledge.

IO performanceLinux kernelhardware fundamentals
0 likes · 8 min read
Unlocking Memory Secrets: Why Random IO Slows Down and How to Optimize It
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.

ConfigurationOOMOptimization
0 likes · 15 min read
Understanding and Resolving Spark OOM Issues: Memory Model, Causes, and Optimization Techniques
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Dec 16, 2019 · Backend Development

Boost Kunpeng Server Apps: 7 Proven Performance Tuning Techniques

This guide walks you through seven practical optimization methods for Kunpeng‑based servers—including compiler flags, buffer selection, result caching, memory‑copy reduction, lock refinement, jemalloc integration, and cache‑line alignment—to fully exploit the hardware’s capabilities.

Compiler FlagsKunpengOptimization
0 likes · 14 min read
Boost Kunpeng Server Apps: 7 Proven Performance Tuning 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.

Goappendcopy
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.

JVMJavaThreads
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.

CPUOptimizationRedis
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.

CPUdisk-iomemory
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.

JVMJavaThreads
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.

JavaTipsconcurrency
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.

CacheMonitoringPersistence
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.

Escape AnalysisGoGoroutine
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.

TracingWindowsmemory
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 QueueCachingExport
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.

JavaStringStringBuffer
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.

CollectionsFundamentalsGarbage Collection
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.

APMMonitoringNetwork
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/OSystem Optimization
0 likes · 19 min read
Mastering Server Performance: CPU, Memory, and I/O Optimization Techniques
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 2, 2016 · Mobile Development

Mobile Performance Testing Methods for Baidu Video App

This article outlines comprehensive mobile performance testing practices for Baidu Video, covering background, key performance dimensions such as smoothness, crash, memory, power, CPU, and network, and detailing metric collection methods on Android and iOS using command‑line tools, Xcode Instruments, and third‑party utilities.

AndroidCPUNetwork
0 likes · 12 min read
Mobile Performance Testing Methods for Baidu Video App
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2016 · Fundamentals

Master Linux Process Management: From Lifecycle to Scheduling

This article explains Linux process management fundamentals, covering process concepts, lifecycle, threads, priority and nice values, context switching, interrupt handling, process states, memory segments, and the O(1) CPU scheduler, providing clear insights into kernel behavior and system performance.

LinuxSchedulingmemory
0 likes · 14 min read
Master Linux Process Management: From Lifecycle to Scheduling
Qunar Tech Salon
Qunar Tech Salon
Aug 14, 2016 · Mobile Development

Mobile App Performance Optimization: UI, Memory, Network, Power and Code

This article presents a detailed overview of mobile app performance optimization, covering UI responsiveness, memory management, network efficiency, power consumption, and code improvements, with practical analysis methods, tools, and case studies from major companies such as Ctrip and Alibaba to help developers enhance Android applications.

AndroidMobile DevelopmentNetwork
0 likes · 32 min read
Mobile App Performance Optimization: UI, Memory, Network, Power and Code
Baidu Intelligent Testing
Baidu Intelligent Testing
Jun 1, 2016 · Backend Development

Analysis of Common CPU Performance Issues in C/C++ Programs and Profiling Tool Comparison

This article examines fourteen typical CPU‑related performance problems in C/C++ applications—such as excessive memset, inefficient string handling, improper container usage, lock contention, and heavy I/O—explains their causes, presents real‑world examples, and compares popular CPU profiling tools to guide developers toward effective optimization.

C#CPU performanceOptimization
0 likes · 12 min read
Analysis of Common CPU Performance Issues in C/C++ Programs and Profiling Tool Comparison
21CTO
21CTO
May 11, 2016 · Mobile Development

Essential Android Performance Tools & Tips for Faster Apps

This article compiles essential Android performance optimization tools and practical tips, covering layout inspection, GPU profiling, memory monitoring, code best practices, view rendering, power management, and APK slimming to help developers identify and resolve bottlenecks for smoother, more efficient applications.

LayoutOptimizationPower
0 likes · 10 min read
Essential Android Performance Tools & Tips for Faster Apps
ITPUB
ITPUB
Apr 29, 2016 · Databases

How to Stream Large MySQL Query Results Without Running Out of Memory

MySQL normally loads an entire query result into memory, which can cause out‑of‑memory errors on large tables, but by adding the -q option in the console, enabling useCursorFetch in JDBC URLs, and setting stmt.setFetchSize(Integer.MIN_VALUE), you can switch to a streaming mode that returns rows one at a time.

JDBCResultSetStreaming
0 likes · 3 min read
How to Stream Large MySQL Query Results Without Running Out of Memory
ITPUB
ITPUB
Apr 25, 2016 · Fundamentals

Essential C Interview Questions for Embedded Systems: Preprocessor, Macros, and More

This article compiles a comprehensive set of embedded‑C interview questions covering preprocessors, macros, infinite loops, data declarations, static, const, volatile, bit manipulation, fixed‑address memory access, interrupts, code snippets, dynamic allocation, typedefs and obscure syntax, each with detailed explanations and example code.

C#Interview QuestionsMacros
0 likes · 19 min read
Essential C Interview Questions for Embedded Systems: Preprocessor, Macros, and More
Model Perspective
Model Perspective
Jun 25, 2015 · Fundamentals

Can Films Unlock the Science of Hypnosis and Memory?

This essay explores how four psychological films illustrate the potential of hypnosis in clinical practice and memory enhancement, proposes definitions for hypnosis-related terms, and outlines speculative concepts of consciousness space, linking cinematic narratives to neuroscience and cognitive psychology.

Neurosciencefilm analysishypnosis
0 likes · 15 min read
Can Films Unlock the Science of Hypnosis and Memory?
Model Perspective
Model Perspective
Jun 23, 2015 · Fundamentals

Why Some Theorems Stick: How the Brain Stores and Retrieves Knowledge

This article examines the key factors influencing theorem memorization, the types of information the brain prefers, and typical human thinking patterns, arguing that aligning explanations with the brain’s natural preferences can improve understanding, retention, and recall.

Cognitive Sciencebrainlearning
0 likes · 2 min read
Why Some Theorems Stick: How the Brain Stores and Retrieves Knowledge