You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dxe4 (via GitHub)" <gi...@apache.org> on 2023/02/08 18:51:37 UTC

[GitHub] [arrow] dxe4 commented on issue #18431: [Python] Memory leak in pq.read_table and table.to_pandas

dxe4 commented on issue #18431:
URL: https://github.com/apache/arrow/issues/18431#issuecomment-1423087497

   hi, i was profiling this and i spotted that in `pyarrow/array.pxi` deduplicate_objects has a default value set to true but the docs say its false. so what is the expected default?
   
   https://github.com/apache/arrow/blob/fc1f9ebbc4c3ae77d5cfc2f9322f4373d3d19b8a/python/pyarrow/array.pxi#L724
   https://github.com/apache/arrow/blob/fc1f9ebbc4c3ae77d5cfc2f9322f4373d3d19b8a/python/pyarrow/array.pxi#L690
   
   the memory goes down when its false.
   
   ![no_dup@2x](https://user-images.githubusercontent.com/4346513/217624577-85f7249b-cb7c-4620-b013-f23e36fe05b1.png)
   ![duplicate@2x](https://user-images.githubusercontent.com/4346513/217624585-33b7916e-7ec8-4e19-ab10-f6be093a10f6.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org