how to run Valgrind with python process?
We have docker containers which use python services. We want to check for memory leaks in some of the python processes. We tried attaching valgrind with our python process after setting ENV variable PYTHONMALLOC=malloc in our docker file, but we are not able to get proper stack trace.
Command used:
/usr/bin/valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --trace-children=yes --track-origins=yes
Any idea what needs to be done to use valgrind with python process inside docker containers?
Comments
Post a Comment