Tagged articles
Memory usage
30 articles · Page 1 of 1

21CTOAug 10, 2026 · Industry Insights
A new report shows that the built‑in Weather app in Windows 11 can consume more than 1 GB of memory, far higher than macOS’s Weather app, due to its WebView2‑based architecture and embedded Chromium engine, which burdens low‑end PCs with heavy RAM usage.
ChromiumDesktop performanceMemory usage
0 likes · 6 min read

In PostgreSQL versions prior to 14, a DELETE without a partition filter on a table with 20,000 partitions caused the server to allocate over 120 GB of memory within 60 seconds; the article shows how to reproduce the issue, diagnose it with MemoryContextStat and perf, and explains the fix introduced in PG14.
Memory usagePG14Partitioning
0 likes · 12 min read

This benchmark measures the peak memory consumption of one, ten‑thousand, one‑hundred‑thousand and one‑million concurrent tasks in Rust, Go, Java, C#, Node.js, Python and Elixir, revealing surprising differences such as Go using far more memory than Rust and .NET showing unusually low usage.
C++ConcurrencyGo
0 likes · 15 min read

Claude Desktop automatically starts a Hyper‑V virtual machine named Vmmem that consumes about 1.8 GB of RAM on both Windows and macOS, a problem tracked for 105 days on GitHub, with detailed analysis of its cause, extreme cases, and five mitigation steps ranging from a hidden config toggle to disabling system features.
Claude DesktopCoworkGitHub issue
0 likes · 8 min read

This guide explains why recent Redis versions require Python, shows how to install necessary dependencies, demonstrates using redis-cli --bigkeys and custom shell scripts to locate large keys, and outlines the risks and practical solutions for handling big keys in production.
Big KeysMemory usagePython dependency
0 likes · 8 min read

This tutorial explains how Linux processes use memory, distinguishes between shared and private memory, demonstrates how to interpret ps output, and shows how to obtain detailed memory maps using pmap and other utilities such as /proc, smaps, smem, exmap, and valgrind.
LinuxMemory usagepmap
0 likes · 12 min read

This guide explains three practical ways to list each Linux process's memory consumption, converting the RSS value from kilobytes to megabytes or gigabytes with ps and awk, and provides detailed command explanations and formatting options for clear output.
LinuxMemory usageawk
0 likes · 6 min read

The article analyses a large‑scale benchmark comparing Go, C, Rust, C# and other languages under single, 100 k and 1 M concurrent tasks, revealing how Go’s 64‑bit int array size and goroutine stack overhead cause dramatically higher memory consumption despite comparable CPU performance.
ConcurrencyGoMemory usage
0 likes · 9 min read

Performance testing involves monitoring various metrics to assess system behavior under different conditions, including response time, throughput, CPU usage, memory utilization, and error rates.
CPU utilizationMemory usageMonitoring Tools
0 likes · 8 min read

A recent study benchmarked 27 programming languages using the Computer Language Benchmarks Game and Rosetta Code, measuring execution time, energy consumption via Intel RAPL, and memory usage, revealing that compiled languages like C and Rust dominate performance while interpreted languages lag behind.
C languageMemory usagebenchmark
0 likes · 6 min read

This article compares placing a try‑catch block inside versus outside a Java for‑loop, showing concrete code examples, execution results, memory‑usage measurements, and practical recommendations based on how exceptions affect loop termination and performance.
Best PracticesException HandlingJava
0 likes · 7 min read

This article presents fifteen practical Python techniques—including multi‑key sorting, data classes, list comprehensions, memory inspection, frequency analysis, dictionary merging, multiple return values, filter/map/zip usage, list reversal, element existence checks, flattening nested lists, and uniqueness verification—to help developers write cleaner, faster, and more readable code.
Data ClassesMemory usagePython
0 likes · 9 min read


21CTOJul 2, 2023 · Fundamentals
This article benchmarks async versus multithreaded programming across Rust, Go, Java, C#, Node.js, Python, and Elixir, measuring peak memory usage for 1, 10 000, 100 000 and 1 000 000 concurrent tasks to reveal surprising scalability trade‑offs.
Memory usageMultithreadingasync
0 likes · 14 min read

This article explains key system performance testing metrics such as response time, concurrency, click‑through rate, throughput, TPS/QPS, PV/UV, and details essential Linux server indicators like CPU usage, memory utilization, load average, and disk I/O, providing formulas, interpretation guidelines, and useful command‑line tools.
CPU usageLinux monitoringLoad Average
0 likes · 17 min read

This tutorial walks you through creating a Bash script that periodically captures and displays memory, disk, and CPU utilization on a Linux server, explains the underlying commands, shows how to run the script in a timed loop, and demonstrates adding a stress test for load generation.
CPU usageMemory usageSystem Monitoring
0 likes · 9 min read

Even when scanning a 200 GB InnoDB table on a server with only 100 GB RAM, MySQL streams results using a small net buffer and an optimized InnoDB buffer‑pool LRU, so the server’s memory never blows up, though I/O load remains high.
Buffer PoolInnoDBLRU algorithm
0 likes · 11 min read

After a weekend of code refactoring, asynchronous processing, and removing unnecessary statistics, the author increased FunTester's QPS from 104,375 to 118,904 (≈13.9% gain), reduced memory consumption by over 57%, and documented detailed performance impacts of various optimizations with code samples and benchmark tables.
FunTesterJavaMemory usage
0 likes · 13 min read

This article explores image‑related concepts such as CSS pixels, device pixels, device‑independent pixels, DPR and PPI, explains how to calculate image memory usage, compares img tag, background‑image and canvas rendering performance, and offers practical optimization directions for web developers.
CanvasMemory usagedevicePixelRatio
0 likes · 17 min read

This article explains how to use Redis INFO and related commands to monitor critical performance metrics such as memory usage, memory fragmentation, total commands processed, latency, and key eviction, and provides practical tips for interpreting these metrics and optimizing Redis deployments.
Memory usageRedisdatabase monitoring
0 likes · 27 min read


ITPUBJan 4, 2021 · Operations
This guide shows Linux administrators how to use the ps command with sorting and head to list the top ten processes by CPU usage, memory consumption, and virtual memory, explains the meaning of key ps output fields, and provides alternative sorting options.
CPU usageLinuxMemory usage
0 likes · 3 min read

This guide shows Linux commands for quickly identifying the ten processes that consume the most CPU, memory, or virtual memory, explains the key ps fields, and provides alternative sorting options for system monitoring.
CPU usageLinuxMemory usage
0 likes · 3 min read

Through a series of experiments using MySQL's performance_schema and explicit MEMORY tables, this article demonstrates how internal temporary tables consume memory, reveals that they allocate significantly more space than raw data size, and discusses the implications for accurate memory estimation.
Memory usageMySQLperformance_schema
0 likes · 4 min read

The article compares MySQL 8.0 and MySQL 5.7 memory usage on a 1 GB VM, showing that MySQL 8.0 consumes significantly more resident and swap memory despite similar lightweight workloads, and provides the test configuration and observations for developers.
ConfigurationMemory usageMySQL
0 likes · 6 min read

This article describes how a video SDK team implements automated UI testing, collects CPU and memory usage data, stores it in a database, provides backend APIs, and visualizes the performance trends on a front‑end dashboard to assess SDK stability.
Memory usagePerformance MonitoringSDK Testing
0 likes · 5 min read


21CTONov 20, 2017 · Backend Development
This article explains how to monitor PHP memory and CPU usage, demonstrates functions for measuring peak memory, shows line‑by‑line and generator‑based file reading techniques, and compares traditional copying with stream‑based piping to reduce memory consumption on large files.
File ReadingMemory usagePHP
0 likes · 8 min read

An iOS team discovered that Xcode’s memory usage jumped from 2 GB to nearly 7 GB after a codebase upgrade, traced the surge to hundreds of nonnull warnings embedded in header files that inflated .dia cache files, and resolved the issue by removing the warnings, highlighting the hidden cost of ignored compiler warnings.
Memory usageXcodecache files
0 likes · 8 min read

This article explains how tuning the PHP‑FPM max_requests setting and modifying its source code can eliminate periodic CPU_IDLE and MEM_USED fluctuations in high‑traffic web services, resulting in smoother resource utilization and more reliable performance.
Backend PerformanceCPU optimizationMemory usage
0 likes · 6 min read

This article details the design and implementation of an iOS performance‑monitoring SDK that captures fundamental metrics such as CPU usage, memory consumption, frame rate, cold and hot startup times, and power draw, explains the underlying Mach APIs, provides sample Objective‑C code, and discusses practical considerations for accurate measurement and troubleshooting.
CPU usageMemory usagePerformance Monitoring
0 likes · 26 min read

This guide explains how to use the Linux pidstat command to monitor process-level CPU, memory, and I/O statistics, covering column meanings, various command options, and examples for specific processes and child processes.
CPU usageI/O statisticsLinux monitoring
0 likes · 4 min read

This article explains how to use the sar (System Activity Reporter) tool on Linux to collect and analyze performance data, covering past and real‑time statistics, CPU, memory, I/O and swap metrics, installation steps, and a full list of command‑line options.
CPU usageMemory usageSystem Monitoring
0 likes · 9 min read
