Created
May 17, 2015 09:05
-
-
Save ephrin/b52f1fedecd55baf369c to your computer and use it in GitHub Desktop.
valgrind - process memleak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #You can use valgrind to find memory related issues: | |
| #Usage: | |
| valgrind --tool=memcheck program_name #(/sbin/docker or wharever the path to docker is) | |
| valgrind --leak-check=yes program_name | |
| #Example: | |
| valgrind --leak-check=yes /sbin/httpd | |
| #Check for lines containing definitely lost or probably lost to confirm that there is a memory leak. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment