I am trying to identify if an observed memory increase in a Python process is due to the Python code I have written or the external C++ DLL that I use. I have isolated the c