Tagged articles
31 articles
Page 1 of 1
php Courses
php Courses
Sep 30, 2025 · Backend Development

Why Traditional PHP Profilers Fail in Async Environments and How to Fix It

Traditional PHP memory profilers, designed for synchronous blocking execution, struggle in high‑concurrency async frameworks like Swoole or ReactPHP because execution contexts intermix, memory leaks become ambiguous, and profiling overhead distorts performance, requiring specialized tools, snapshot comparisons, and disciplined coding practices to effectively diagnose issues.

AsyncPHPSwoole
0 likes · 9 min read
Why Traditional PHP Profilers Fail in Async Environments and How to Fix It
Top Architect
Top Architect
Jul 10, 2025 · Backend Development

How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment

This article shows how a senior architect measured the exact heap memory allocated by individual HTTP and RPC requests in a SpringBoot 2.5.4 application using JMeter load testing and detailed GC logs, revealing that a minimal HTTP call consumes about 34 KB while an RPC call can use up to 1 MB, and discusses the performance implications of payload size and logging.

Backend DevelopmentJMeterJVM
0 likes · 11 min read
How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment
Top Architect
Top Architect
Apr 10, 2025 · Backend Development

Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot

The article presents a Spring Boot experiment measuring per‑request heap memory usage for HTTP and RPC calls, details the JMeter test setup, analyzes GC logs, reports findings such as ~34KB per HTTP request and 0.5‑1MB per RPC request, offers optimization recommendations, and also includes promotional material for AI‑related products.

Backend DevelopmentJVMPerformance Testing
0 likes · 11 min read
Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot
Top Architect
Top Architect
Feb 16, 2025 · Backend Development

Measuring Heap Memory Allocation per HTTP Request in SpringBoot

This article details a SpringBoot experiment using JMeter to measure the heap memory allocated per HTTP request, analyzes GC logs, and discusses how request size and logging affect memory consumption, providing practical JVM tuning insights for backend developers.

JVMPerformance Testingmemory profiling
0 likes · 9 min read
Measuring Heap Memory Allocation per HTTP Request in SpringBoot
Top Architect
Top Architect
Feb 1, 2025 · Backend Development

Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter

This article describes an experiment using SpringBoot 2.5.4 and JMeter to measure the heap memory allocated per HTTP and RPC request, detailing the setup, GC logging configuration, results showing average memory consumption around 34 KB per request, and recommendations for logging and performance optimization.

JMeterJavaPerformance Testing
0 likes · 11 min read
Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter
Top Architect
Top Architect
Jan 10, 2025 · Backend Development

Measuring Heap Memory Allocation per HTTP and RPC Request in SpringBoot

This article details a practical experiment using SpringBoot 2.5.4 and JMeter to measure the heap memory allocated by individual HTTP and RPC requests, analyzes GC logs, and demonstrates how request size and logging affect memory consumption, providing insights for backend performance optimization.

Backend DevelopmentJVMPerformance Testing
0 likes · 11 min read
Measuring Heap Memory Allocation per HTTP and RPC Request in SpringBoot
Top Architect
Top Architect
Dec 24, 2024 · Backend Development

Measuring Heap Memory Consumption per HTTP Request in SpringBoot Applications

This article presents a systematic experiment that uses JMeter to generate HTTP requests against a SpringBoot 2.5.4 service, records detailed GC logs, and calculates that each HTTP call consumes roughly 34 KB of heap memory, while logging and payload size can significantly increase the allocation.

Backend DevelopmentJVMPerformance Testing
0 likes · 10 min read
Measuring Heap Memory Consumption per HTTP Request in SpringBoot Applications
ByteFE
ByteFE
May 29, 2024 · Frontend Development

Performance Optimization Strategies for Interactive Front-End Engine in the 2024 Douyin "Laughing China Year"

This article details a comprehensive set of frontend performance optimization techniques—including startup speed, resource loading, CPU/GPU rendering, dynamic FPS, batch merging, Spine animation, and memory profiling—applied to the 2024 Douyin Laughing China Year interactive projects to improve FMP, reduce draw calls, and prevent overheating and crashes on mobile devices.

Spine optimizationbatch mergingdynamic FPS
0 likes · 16 min read
Performance Optimization Strategies for Interactive Front-End Engine in the 2024 Douyin "Laughing China Year"
Aikesheng Open Source Community
Aikesheng Open Source Community
May 13, 2024 · Databases

Profiling Memory Usage in MySQL Queries

This article explains how to use MySQL's performance_schema to monitor and analyze per‑connection memory consumption, provides SQL queries to list memory instruments, shows Python scripts for sampling and visualizing memory usage over time, and demonstrates practical usage with example commands and output.

Performance SchemaPythonmemory profiling
0 likes · 14 min read
Profiling Memory Usage in MySQL Queries
Ops Development Stories
Ops Development Stories
Nov 9, 2023 · Operations

How to Pinpoint Java Out‑Of‑Memory Errors Using jmap and VisualVM

This guide explains why frequent garbage collection and heap memory overflow occur in Java applications, demonstrates how to reproduce the issue with a sample program, and walks through various techniques—including jmap histograms, heap dumps, VisualVM analysis, and remote JMX monitoring—to diagnose and resolve out‑of‑memory errors.

Garbage CollectionHeap DumpJava
0 likes · 9 min read
How to Pinpoint Java Out‑Of‑Memory Errors Using jmap and VisualVM
Open Source Linux
Open Source Linux
Sep 11, 2023 · Operations

Master Linux Performance Analysis: CPU, Memory, Disk, Network & Flame Graphs

This comprehensive guide explains how to diagnose Linux performance problems—from CPU, memory, disk I/O, and network bottlenecks to system load—using tools like top, vmstat, perf, iostat, netstat, and flame graphs, and demonstrates the methodology with a real‑world Nginx case study.

CPU analysisLinux performanceflame graphs
0 likes · 17 min read
Master Linux Performance Analysis: CPU, Memory, Disk, Network & Flame Graphs
Test Development Learning Exchange
Test Development Learning Exchange
Aug 6, 2023 · Fundamentals

Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples

This article presents ten practical Python code examples demonstrating various garbage collection mechanisms and memory‑analysis tools, including reference counting, cyclic references, object inspection, tracemalloc, memory_profiler, pympler, and objgraph, to help developers understand and optimize memory usage.

DebuggingGarbage CollectionMemory Management
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
Huolala Tech
Huolala Tech
Apr 12, 2023 · Frontend Development

Why Your CI Build Runs Out of Memory and How to Fix It with Node.js Profiling

During CI builds of front‑end projects, developers often encounter out‑of‑memory errors or silent process termination, but by measuring Node.js memory and CPU usage, adjusting the max‑old‑space‑size flag, employing profiling tools, and optimizing webpack plugins, they can identify and mitigate resource‑consumption bottlenecks.

CI buildNode.jsmax-old-space-size
0 likes · 13 min read
Why Your CI Build Runs Out of Memory and How to Fix It with Node.js Profiling
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Jan 6, 2023 · Game Development

Unity UI Performance Testing Framework: Concepts, Architecture, Data Collection, and Visualization

This article introduces a Unity‑based UI performance testing framework, covering essential Unity concepts, asset bundle loading, memory management, used vs reserved memory, framework architecture, data collection methods such as panel screenshots and opening latency, and visualization techniques for analyzing draw calls, memory trends, and performance regressions.

UI PerformanceUnitymemory profiling
0 likes · 10 min read
Unity UI Performance Testing Framework: Concepts, Architecture, Data Collection, and Visualization
Inke Technology
Inke Technology
Aug 25, 2022 · Mobile Development

Mastering iOS Crash Handling, OOM Monitoring, and Memory Profiling

This article explains the iOS system architecture, how Mach and BSD layers handle exceptions, the mechanisms for collecting crashes with KSCrash, strategies for OOM detection and monitoring, and techniques for memory snapshotting and reference‑graph analysis to pinpoint memory bloat.

Crash HandlingKSCrashOOM
0 likes · 21 min read
Mastering iOS Crash Handling, OOM Monitoring, and Memory Profiling
Top Architect
Top Architect
May 10, 2022 · Backend Development

Diagnosing Excessive Swap Usage in a SpringBoot Project: Memory Profiling and Native Memory Analysis

The article details a step‑by‑step investigation of a SpringBoot application that repeatedly triggered high swap usage, describing how JVM parameters, native memory tracking, gperftools, strace, and custom memory allocators were used to pinpoint and resolve off‑heap memory leaks caused by the Inflater implementation and glibc memory pools.

JVMJavaNative Memory
0 likes · 12 min read
Diagnosing Excessive Swap Usage in a SpringBoot Project: Memory Profiling and Native Memory Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 3, 2021 · Databases

Diagnosing MySQL Memory Spikes Using perf and mmap Monitoring

This tutorial demonstrates how to reproduce a MySQL memory‑spike bug, monitor the process with Linux perf to capture mmap system calls, and analyze the resulting perf.out to identify which SQL statements trigger large memory allocations, while also discussing the method’s limitations.

Database PerformanceLinuxmemory profiling
0 likes · 5 min read
Diagnosing MySQL Memory Spikes Using perf and mmap Monitoring
Amap Tech
Amap Tech
Jan 15, 2021 · Mobile Development

MemTower: A Rust‑Based Native Memory Profiling Solution for Android

MemTower is a Rust‑rewritten native memory profiler for Android that supports versions from 4.x onward, uses an LD_PRELOAD custom allocator to avoid recursive malloc loops, provides fast ELF‑based stack unwinding, multi‑dimensional leak analysis and flame‑graph visualisation, and cuts leak‑investigation time from days to minutes.

AndroidRustmemory profiling
0 likes · 13 min read
MemTower: A Rust‑Based Native Memory Profiling Solution for Android
JD Retail Technology
JD Retail Technology
Dec 6, 2019 · Mobile Development

Android OOM Analysis and the Shooter Offline Memory Profiling Tool

The article explains common Android Out‑Of‑Memory scenarios, traditional analysis methods, and introduces the Shooter offline memory analysis system that parses hprof snapshots, builds dominator trees, computes shallow and retained sizes, and visualizes reference chains to help developers locate memory leaks and OOM causes.

AndroidHeap AnalysisLeakCanary
0 likes · 17 min read
Android OOM Analysis and the Shooter Offline Memory Profiling Tool
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 26, 2019 · Backend Development

Cutting Go Memory Allocations by 100×: Profiling, Tracing, and Fixing Middleware

This article walks through generating load with Vegeta, using pprof and Go trace to pinpoint massive heap allocations caused by the chi compression middleware, and shows how upgrading the library and disabling the middleware reduced allocations by nearly a hundred‑fold while improving GC performance.

Compression MiddlewarePerformance OptimizationVegeta
0 likes · 8 min read
Cutting Go Memory Allocations by 100×: Profiling, Tracing, and Fixing Middleware
JD Tech
JD Tech
Aug 21, 2018 · Mobile Development

Sieve – Android Memory Analysis System: Background, Implementation, and Techniques

This article introduces the Sieve Android memory analysis system, explains why existing tools like LeakCanary and MAT fall short, describes how heap dump files are parsed, GC Roots identified, dominator trees generated, retained sizes calculated, and reference chains constructed to help developers locate memory leaks and OOM causes.

AndroidHeap DumpRetained Size
0 likes · 14 min read
Sieve – Android Memory Analysis System: Background, Implementation, and Techniques