Skip to content

Instantly share code, notes, and snippets.

@ephrin
Created May 17, 2015 09:05
Show Gist options
  • Save ephrin/b52f1fedecd55baf369c to your computer and use it in GitHub Desktop.
Save ephrin/b52f1fedecd55baf369c to your computer and use it in GitHub Desktop.
valgrind - process memleak
#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