Tag

Valgrind

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Dec 27, 2024 · Fundamentals

Comprehensive Guide to Using Valgrind for Memory Debugging and Performance Analysis

This article provides an in‑depth overview of Valgrind, explaining its architecture, the capabilities of its various tools such as Memcheck, Cachegrind, Callgrind, Helgrind and Massif, and offers step‑by‑step installation, configuration, and practical code examples for detecting memory errors, leaks, and performance bottlenecks in C/C++ programs.

C++Leak DetectionMemory Debugging
0 likes · 28 min read
Comprehensive Guide to Using Valgrind for Memory Debugging and Performance Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 26, 2020 · Databases

Understanding MySQL OOM Killer, Memory Planning, and Detecting Memory Leaks with Valgrind

This article examines why MySQL instances are often targeted by the Linux OOM killer, explains proper InnoDB buffer pool sizing, introduces memory leak concepts, and demonstrates how to use Valgrind's Memcheck tool to detect leaks and improve database memory management.

Database PerformanceMemory LeakMemory Management
0 likes · 9 min read
Understanding MySQL OOM Killer, Memory Planning, and Detecting Memory Leaks with Valgrind
Tencent Cloud Developer
Tencent Cloud Developer
Mar 16, 2018 · Operations

Introduction to Linux Performance Profiling Tools: Perf, gprof, and Valgrind

This article introduces three popular Linux performance profiling tools—Perf, gprof, and Valgrind—explaining their installation, basic command‑line usage, and how to visualize results with flame graphs, call graphs, or KCachegrind, while comparing their intrusiveness, startup methods, and output formats.

Flame GraphLinuxPerformance Profiling
0 likes · 10 min read
Introduction to Linux Performance Profiling Tools: Perf, gprof, and Valgrind
Tencent Architect
Tencent Architect
Sep 4, 2017 · Operations

Memory Leak Detection and Performance Hotspot Analysis for High‑Concurrency Nginx Testing

The article details how to identify and resolve memory leaks and performance bottlenecks in high‑concurrency Nginx workloads using tools such as Valgrind, AddressSanitizer, perf and flame‑graphs, while also sharing practical tips and personal reflections on debugging under pressure.

Flame GraphMemory LeakNginx
0 likes · 9 min read
Memory Leak Detection and Performance Hotspot Analysis for High‑Concurrency Nginx Testing
Qunar Tech Salon
Qunar Tech Salon
Jul 13, 2016 · Backend Development

Debugging Rare Core Dumps and Memory Leaks in High‑Concurrency Nginx with OpenSSL

The article describes a real‑world investigation of extremely rare core‑dump bugs and memory‑leak issues in a heavily modified Nginx+OpenSSL stack under high‑concurrency, detailing the debugging workflow, custom stress‑test tools, use of gdb, valgrind, AddressSanitizer, perf, flame graphs and performance‑tuning lessons.

Core DumpMemory LeakNginx
0 likes · 20 min read
Debugging Rare Core Dumps and Memory Leaks in High‑Concurrency Nginx with OpenSSL