S
Stefan Seefeld
hi there,
I'm writing some C python extension and I'd like
to debug the memory management, i.e. run some
tests to see whether I did the ref counting
correctly, etc.
What's the suggested way to do that via the C API ?
Is there some function which I could call at the
very end of an application that will collect some
statistics about the memory (de)allocations done
associated with PyObject construction/destruction ?
Thanks,
Stefan
I'm writing some C python extension and I'd like
to debug the memory management, i.e. run some
tests to see whether I did the ref counting
correctly, etc.
What's the suggested way to do that via the C API ?
Is there some function which I could call at the
very end of an application that will collect some
statistics about the memory (de)allocations done
associated with PyObject construction/destruction ?
Thanks,
Stefan