You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "fivetran-kwoodbeck (via GitHub)" <gi...@apache.org> on 2026/03/04 14:56:03 UTC

Re: [I] [Python][Parquet] Memory Leak when using ParquetWriter gets or K8s pods killed [arrow]

fivetran-kwoodbeck commented on issue #45971:
URL: https://github.com/apache/arrow/issues/45971#issuecomment-3998071954

   I'm seeing the same problem, it may not be a memory leak, I believe [this](https://github.com/apache/arrow/blob/cfbbf708082c84f3a7cb1246d83ef134c2ac27c4/cpp/src/arrow/dataset/dataset_writer.h#L33) is the culprit: an 8 million row queue with no way to control the size.  The fix that works is to just flush / write to separate Parquets, at a few GB each.  If you feed those into DuckDB, it's fine taking in a set of Parquets.


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