pyarrow.
total_allocated_bytes
Return the currently allocated bytes from the default memory pool. Other memory pools may not be accounted for.