kevinjqliu commented on issue #1162:
URL: 
https://github.com/apache/iceberg-python/issues/1162#issuecomment-2361730672

   I should be more specific. Reading (and caching) a `ManifestFile` object (or 
a list of them) ultimately keeps a bunch of `PyArrowFile` objects alive 
(anytime `io.new_input` is called). 
   
   In `PyArrowFile`, the `open` and `create` methods do not automatically clean 
up resources 
https://github.com/apache/iceberg-python/blob/de47590c6ac4f507cb2337c20504a62c484339f9/pyiceberg/io/pyarrow.py#L258-L318
   
   I think this was part of the issue since I had to increase the system file 
descriptors limit. 
   
   


-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to