Master Memory Leak Detection with Valgrind: Step-by-Step Installation & Demo π οΈ
Learn what memory leaks are and how to detect them using Valgrind. Follow our simple installation guide and see a live demo to improve your debugging skills.

Shriram Vasudevan
16.2K views β’ Jun 4, 2021

About this video
Here, I have clearly explained what Memory leakage is all about and how someone can use valgrind for detecting the same.
1. # sudo apt install valgrind
2. To run Valgrind, pass the executable as an argument (along with any parameters to the program).
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt ./exec_file
1. # sudo apt install valgrind
2. To run Valgrind, pass the executable as an argument (along with any parameters to the program).
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt ./exec_file
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
16.2K
Likes
143
Duration
7:39
Published
Jun 4, 2021
User Reviews
4.3
(3) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
No specific trending topics match this video yet.
Explore All Trends