Tag

GC

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Jun 4, 2025 · Backend Development

Performance Optimization of Floating‑Point Conversion and GC Tuning in Java Backend Services

This article details how replacing Java's native double parsing with the Ryu and FastFloat algorithms, alongside JVM GC tuning, dramatically reduces CPU usage and latency in backend services, offering practical code examples, benchmark results, and actionable optimization strategies.

FastFloatFloating-pointGC
0 likes · 15 min read
Performance Optimization of Floating‑Point Conversion and GC Tuning in Java Backend Services
Top Architect
Top Architect
Apr 14, 2025 · Backend Development

Measuring Heap Memory Consumption of HTTP and RPC Requests in a SpringBoot Application

This article details a step‑by‑step experiment using SpringBoot 2.5.4 and JMeter to quantify how much heap memory a single HTTP or RPC request consumes, analyzes GC logs, presents code snippets for the test endpoints, and discusses the impact of logging and payload size on memory usage.

GCHTTPJMeter
0 likes · 11 min read
Measuring Heap Memory Consumption of HTTP and RPC Requests in a SpringBoot Application
Cognitive Technology Team
Cognitive Technology Team
Apr 13, 2025 · Backend Development

Understanding and Resolving java.lang.OutOfMemoryError: GC Overhead Limit Exceeded

This article explains why the JVM throws java.lang.OutOfMemoryError: GC overhead limit exceeded, outlines common causes such as traffic spikes, memory leaks, insufficient heap and inefficient GC, and provides practical solutions and debugging steps to diagnose and fix the issue.

GCJVMJava
0 likes · 4 min read
Understanding and Resolving java.lang.OutOfMemoryError: GC Overhead Limit Exceeded
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.

BackendGCJVM
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
php中文网 Courses
php中文网 Courses
Jan 20, 2025 · Backend Development

PHP Memory Optimization Techniques

This article presents a comprehensive guide to PHP memory optimization, covering strategies such as using unset() to free variables, processing data in chunks, manual garbage collection, monitoring usage, optimizing loops, generators, lazy class loading, database tuning, profiling tools, serialization practices, Opcache, session handling, large file processing, and Composer dependency management.

BackendCodeGC
0 likes · 9 min read
PHP Memory Optimization Techniques
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
Code Ape Tech Column
Code Ape Tech Column
Dec 10, 2024 · Backend Development

Measuring Per-Request Heap Memory Usage and GC Impact in SpringBoot with JMeter

This article demonstrates how to experimentally determine the heap memory allocated by individual HTTP and RPC requests in a SpringBoot application using JMeter load testing, GC logging, and code analysis, providing insights into memory consumption, GC frequency, and optimization strategies for backend performance.

GCJMeterJVM
0 likes · 9 min read
Measuring Per-Request Heap Memory Usage and GC Impact in SpringBoot with JMeter
Top Architect
Top Architect
Nov 14, 2024 · Backend Development

Measuring Per-Request Heap Memory Usage in SpringBoot Applications

The article details a SpringBoot experiment that uses JMeter to send 20,000 HTTP requests, captures detailed GC logs, and demonstrates that each request consumes roughly 34 KB of heap memory, with larger payloads and logging increasing the usage, highlighting the importance of memory‑aware coding and log management.

BackendGCJMeter
0 likes · 9 min read
Measuring Per-Request Heap Memory Usage in SpringBoot Applications
Cognitive Technology Team
Cognitive Technology Team
Oct 28, 2024 · Backend Development

Investigation of Sporadic Netty Message Send Delays Exceeding One Second

During performance testing of a Netty-based service, occasional message sends exceeded one second despite low CPU usage, prompting an investigation that identified a blocking ChannelHandler caused by a conditional sleep, leading to NioEventLoop thread stalls and delayed transmissions.

ChannelHandlerGCJava
0 likes · 4 min read
Investigation of Sporadic Netty Message Send Delays Exceeding One Second
Top Architecture Tech Stack
Top Architecture Tech Stack
Oct 22, 2024 · Backend Development

Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter and GC Logs

This article demonstrates how to quantify the heap memory allocated by individual HTTP and RPC calls in a SpringBoot application by creating a test service, configuring JMeter for load, capturing detailed GC logs, and analyzing the results to guide JVM and logging optimizations.

BackendPerformanceGCJMeter
0 likes · 10 min read
Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter and GC Logs
Top Architect
Top Architect
Oct 15, 2024 · Backend Development

Measuring Heap Memory Allocation per HTTP Request in SpringBoot Applications

This article presents a SpringBoot-based experiment measuring the heap memory allocated per HTTP request, detailing the setup with JMeter, JVM GC logging, observed memory usage of roughly 34 KB per request, analysis of GC frequency, and concludes with recommendations on logging and memory optimization, while also promoting related AI services and community resources.

BackendGCJVM
0 likes · 11 min read
Measuring Heap Memory Allocation per HTTP Request in SpringBoot Applications
JD Tech
JD Tech
Jun 13, 2024 · Backend Development

Investigation of Log4j2 Asynchronous Logging Memory Growth and Mitigation Strategies

This article analyzes the memory increase observed after enabling Log4j2 asynchronous logging in Java services, examines root causes such as thread‑local reuse and large char[] allocations, and presents configuration and code changes—including disabling thread‑locals and limiting message size—to prevent heap growth and improve performance.

GCJVMJava
0 likes · 18 min read
Investigation of Log4j2 Asynchronous Logging Memory Growth and Mitigation Strategies
JD Retail Technology
JD Retail Technology
May 7, 2024 · Backend Development

Off‑Heap Cache (OHC) Practice: Reducing JVM GC Impact and Boosting C‑Side Interface Throughput

This article explains how using an off‑heap local cache (OHC) can dramatically lower GC pauses and cut interface latency by up to tenfold, covering the underlying principles, configuration, custom serializers, performance testing, monitoring metrics, and practical optimization recommendations for high‑traffic Java backend services.

CachingGCJava
0 likes · 15 min read
Off‑Heap Cache (OHC) Practice: Reducing JVM GC Impact and Boosting C‑Side Interface Throughput
Selected Java Interview Questions
Selected Java Interview Questions
Mar 26, 2024 · Backend Development

Resolving Java OOM Caused by Large File Download: GC Log Analysis and Streaming Solutions

The article describes a production OOM incident caused by downloading a 2.4 GB file, walks through GC log and heap‑dump analysis using MAT, identifies the problematic use of FileUtils.readFileToByteArray, and presents streaming and external storage solutions to prevent memory exhaustion.

BackendFileDownloadGC
0 likes · 6 min read
Resolving Java OOM Caused by Large File Download: GC Log Analysis and Streaming Solutions
Sanyou's Java Diary
Sanyou's Java Diary
Mar 4, 2024 · Fundamentals

Master JVM Memory Troubleshooting: A Complete Step‑by‑Step Guide

This comprehensive guide presents a systematic, step‑by‑step process for diagnosing JVM memory problems—including heap, Metaspace, DirectMemory, JNI memory, and stack issues—using Alibaba Cloud ARMS, ATP, standard JDK tools, and best‑practice commands to quickly locate root causes and apply effective solutions.

GCJVMJava
0 likes · 56 min read
Master JVM Memory Troubleshooting: A Complete Step‑by‑Step Guide
Efficient Ops
Efficient Ops
Feb 25, 2024 · Operations

How to Diagnose and Fix Java CPU, Memory, Disk, and Network Issues Quickly

This guide walks through systematic troubleshooting of Java applications by checking CPU, disk, memory, and network layers, using tools like jstack, jmap, vmstat, iostat, and tcpdump to pinpoint and resolve performance and stability problems.

CPUGCJava
0 likes · 21 min read
How to Diagnose and Fix Java CPU, Memory, Disk, and Network Issues Quickly