<@U04S8PLJWMT> I deployed airbyte using abctl, and...
# ask-ai
p
@kapa.ai I deployed airbyte using abctl, and I would like to know how much memory it uses while extracting the data, is there anything like 10MB?
k
Airbyte's memory usage during data extraction (sync jobs) is not fixed at 10MB. Instead, the memory consumed depends on several factors, including the connector, the size of the records, and the resource limits you configure. By default, Airbyte source connectors read data in batches—typically up to 10,000 records in memory at a time. The actual memory usage will depend on the average row size. For example, if each row is 0.5MB, then 10,000 rows would require about 5GB of RAM. This means memory usage can be much higher than 10MB, especially for large datasets or wide tables. The 10MB figure you mentioned may appear in logs as an allocated buffer size at a particular moment, but it does not represent the total or maximum memory used during extraction. In practice, memory usage can scale up significantly depending on your workload and configuration settings [Scaling Airbyte](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale). You can check the actual resource requirements and usage in the job logs. Airbyte logs the resource configuration for each job, including memory and CPU limits and requests. For example, you might see logs like:
Copy code
[source] image: airbyte/source-sftp:1.2.0-dev.54744ff04b resources: ResourceRequirements(limits={memory=2Gi, ...}, requests={memory=1Gi, ...})
If you encounter out-of-memory errors, you may need to increase the memory limits for your connectors. You can configure these limits per connection or globally [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). In summary: Airbyte does not use a fixed 10MB for extraction; memory usage is dynamic and can be much higher, depending on your data and configuration. Always monitor your job logs to see the actual memory being used and adjust your resource limits as needed.
p
@kapa.ai is it possible to make airbyte read more than 10,000 a time?
k
A message from kapa.ai
Airbyte’s default behavior is to read records in batches, with a typical batch size of 10,000 records for destination connectors. This batch size is currently hardcoded in many connectors and is not universally configurable across all connectors. For some connectors, this can lead to out-of-memory (OOM) errors if the records are large, and there are open discussions about making this limit configurable or batching based on bytes instead of record count [Reads should batch on bytes read instead of records read](https://github.com/airbytehq/airbyte/issues/3439) [How memory request and limit works under the hood](https://discuss.airbyte.io/t/2214). For certain connectors, such as Google Sheets, you can configure the batch size (row batch size) in the connector settings. For example, the Google Sheets source allows you to set the batch size to a value higher than the default, which controls how many rows are processed per API request [Google Sheets Setup Guide](https://docs.airbyte.com/integrations/sources/google-sheets#for-airbyte-open-source). However, for most connectors, especially database and API sources, the batch size is not user-configurable and is set internally by Airbyte. There are ongoing discussions and feature requests to make this more flexible in the future. Summary: - For most connectors, you cannot currently configure Airbyte to read more than 10,000 records at a time. - Some connectors (like Google Sheets) do allow you to set a higher batch size. - There are open issues to make batch size configurable or to batch based on bytes instead of record count, but this is not yet standard across all connectors. If you have a specific connector in mind, please mention it, as the answer may vary depending on the connector.