You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/06/21 21:41:20 UTC

[GitHub] [arrow] westonpace commented on issue #36101: Memory leak using pyarrow.Table and to_pandas method

westonpace commented on issue #36101:
URL: https://github.com/apache/arrow/issues/36101#issuecomment-1601720559

   You do need to close `sm_get` but you can't safely close it until after you are done using it.  Note that the `to_pandas` conversion could very well be zero-copy.  This means that `data` may reference portions of the underlying buffer.  This means you can't close `sm_get` until you've finished using (and deleted) `data`.


-- 
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