# Memory Efficient Data Streaming To Parquet Files

DevFeed: [Memory Efficient Data Streaming To Parquet Files](<https://devfeed.tech/articles/memory-efficient-data-streaming-to-parquet-files-82214.md>)

Original publisher: [Read original article](<https://estuary.dev/blog/memory-efficient-streaming-parquet>)

Author: Dani Pálma; William Baker

Published: 2024-07-29T18:37:30Z

Content type: tutorial

Language: en

Sources: [Estuary](<https://devfeed.tech/sources/estuary.md>)

Topics: [streaming data to S3 with Parquet](<https://devfeed.tech/topics/streaming-data-to-s3-with-parquet.md>), [parquet](<https://devfeed.tech/topics/parquet.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [compressing data with Parquet](<https://devfeed.tech/topics/compressing-data-with-parquet.md>)

Tags: [compression](<https://devfeed.tech/tags/compression.md>), [data](<https://devfeed.tech/tags/data.md>), [data-pipelines](<https://devfeed.tech/tags/data-pipelines.md>), [data-streaming](<https://devfeed.tech/tags/data-streaming.md>), [memory](<https://devfeed.tech/tags/memory.md>), [parquet](<https://devfeed.tech/tags/parquet.md>), [parquet-files](<https://devfeed.tech/tags/parquet-files.md>)

## AI overview

The article explains a two-pass method for streaming data into Parquet files with limited memory. It writes incoming rows to small Parquet row groups in a disk-based scratch file, then reads the data column by column to assemble larger output row groups. The method reduces memory use in constrained connectors, with added encoding and decoding overhead and metadata-size limitations for datasets with very many columns.

## Source excerpt

How to efficiently stream data into Parquet files.