Tag

Memory Profiling

1 views collected around this technical thread.

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.

GCJVMMemory Profiling
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.

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

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

GCJVMMemory Profiling
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.

GCJVMMemory Profiling
0 likes · 10 min read
Measuring Heap Memory Consumption per HTTP Request in SpringBoot Applications
Test Development Learning Exchange
Test Development Learning Exchange
Jun 14, 2024 · Fundamentals

Using Memray for Python Memory Profiling and Leak Detection

This guide introduces Memray, a powerful Python memory analysis tool, explains how to install it, run command‑line profiling, integrate it into code with the Tracker API, interpret detailed reports, and apply advanced filtering and merging techniques while noting its runtime overhead.

Memory ProfilingPythondebugging
0 likes · 4 min read
Using Memray for Python Memory Profiling and Leak Detection
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.

Memory ProfilingSpine optimizationbatch merging
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.

Memory ProfilingMySQLPerformance Schema
0 likes · 14 min read
Profiling Memory Usage in MySQL Queries
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.

Garbage CollectionMemory ManagementMemory Profiling
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Fundamentals

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

This article explains Python's automatic garbage collection mechanisms, including reference counting and cyclic garbage collection, and presents ten practical code snippets demonstrating how to inspect reference counts, list objects, trace memory usage, and employ profiling tools such as tracemalloc, memory_profiler, pympler, and objgraph to detect leaks and optimize memory usage.

Garbage CollectionMemory ManagementMemory Profiling
0 likes · 4 min read
Practical Python Garbage Collection and Memory Analysis: 10 Useful Code Examples
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.

Memory ProfilingUI performanceUnity
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 HandlingKSCrashMemory Profiling
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.

JVMJavaMemory Profiling
0 likes · 12 min read
Diagnosing Excessive Swap Usage in a SpringBoot Project: Memory Profiling and Native Memory Analysis
Python Programming Learning Circle
Python Programming Learning Circle
Dec 20, 2021 · Artificial Intelligence

Monitoring Python CPU and GPU Memory Usage with memory_profiler and Pytorch‑Memory‑Utils

This article introduces the Python libraries memory_profiler and Pytorch‑Memory‑Utils, demonstrates how to measure line‑by‑line CPU memory consumption and GPU memory usage in notebooks and scripts, and explains the additional overhead introduced by PyTorch during model loading.

GPUMemory ProfilingPyTorch
0 likes · 7 min read
Monitoring Python CPU and GPU Memory Usage with memory_profiler and Pytorch‑Memory‑Utils
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.

LinuxMMAPMemory Profiling
0 likes · 5 min read
Diagnosing MySQL Memory Spikes Using perf and mmap Monitoring
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 27, 2021 · Databases

Analyzing MySQL Memory Usage with tcmalloc and pprof

This article demonstrates how to use Google’s tcmalloc library and the pprof tool to capture and analyze MySQL heap dumps, revealing memory allocations that performance_schema cannot track, and explains the experimental setup, data collection, and interpretation of the resulting memory allocation graphs.

Memory ProfilingMySQLPerformance Schema
0 likes · 4 min read
Analyzing MySQL Memory Usage with tcmalloc and pprof
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.

AndroidMemory ProfilingNative
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.

AndroidLeakCanaryMemory Profiling
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 MiddlewareMemory ProfilingPerformance Optimization
0 likes · 8 min read
Cutting Go Memory Allocations by 100×: Profiling, Tracing, and Fixing Middleware