[Numpy-discussion] Memory allocation of arrays and tracemalloc

Antoine Pitrou solipsis at pitrou.net
Thu Jan 15 12:01:14 EST 2015


Hello,

I see that the PyDataMem_* APIs call malloc()/free()/etc. directly,
instead of going through PyMem_Malloc, etc. This means the memory
allocated by those APIs won't be seen by tracemalloc. Is it deliberate?
Am I missing something?

Regards

Antoine.





More information about the NumPy-Discussion mailing list