[Python-Dev] Problems with the Python Memory Manager

Neal Norwitz nnorwitz at gmail.com
Thu Nov 17 01:08:48 CET 2005

On 11/16/05, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> As verified by removing usage of the Python PyObject_MALLOC function, it
> was the Python memory manager that was performing poorly.   Even though
> the array-scalar objects were deleted, the memory manager would not
> re-use their memory for later object creation. Instead, the memory
> manager kept allocating new arenas to cover the load (when it should
> have been able to re-use the old memory that had been freed by the
> deleted objects--- again, I don't know enough about the memory manager
> to say why this happened).

Can you provide a minimal test case?  It's hard to do anything about
it if we can't reproduce it.


More information about the Python-Dev mailing list