3

Looking at existing stackoverflow answers, there are 4 things recommended for using valgrind to debug python memory leaks.

./configure using:

  • --with-pydebug
  • --without-pymalloc
  • --with-valgrind

It is also recommended on SO and in README.valgrind to use a suppression file to suppress some valgrind errors.

I'm wondering:

  1. Does the newer --with-valgrind option eliminate the need for this suppression file?

  2. Does the --with-valgrind option eliminate the need for the --without-pymalloc?

Answers I've read:

Community
  • 1
  • 1
turbulencetoo
  • 3,447
  • 1
  • 27
  • 50

0 Answers0