Lucas Migliorini De Freitas
02/06/2025, 11:58 AMkapa.ai
02/06/2025, 11:58 AMLucas Migliorini De Freitas
02/06/2025, 12:00 PMLucas Migliorini De Freitas
02/06/2025, 12:01 PMkapa.ai
02/06/2025, 12:01 PMkapa.ai
02/06/2025, 12:01 PMJOB_MAIN_CONTAINER_MEMORY_LIMIT
and JOB_MAIN_CONTAINER_MEMORY_REQUEST
environment variables in your .env
file. These variables control the memory allocation for the connector containers. For example, you could add or modify these lines in your .env
file: JOB_MAIN_CONTAINER_MEMORY_LIMIT=4Gi JOB_MAIN_CONTAINER_MEMORY_REQUEST=4Gi
This would allocate 4GB of memory to the connector. You can adjust this value based on your needs and available resources. 2. For Airbyte Cloud or if you're using Kubernetes: You can modify the resource requirements for the specific connection. This can typically be done through the Airbyte UI or by modifying the connection configuration. After making these changes, you'll need to restart your Airbyte instance for the changes to take effect. It's important to note that the exact steps and available options might vary depending on your specific Airbyte setup and version. Always refer to the most up-to-date documentation for your Airbyte version. For more detailed information on configuring connector resources, you can refer to the Airbyte documentation on [Configuring Connector Resources](https://docs.airbyte.com/operator-guides/configuring-connector-resources). Remember to monitor your system's performance after making these changes to ensure that increasing the heap space resolves the issue without causing other resource constraints.Lucas Migliorini De Freitas
02/06/2025, 12:10 PMkapa.ai
02/06/2025, 12:10 PMkapa.ai
02/06/2025, 12:11 PMyaml env: JOB_MAIN_CONTAINER_MEMORY_LIMIT: 4Gi JOB_MAIN_CONTAINER_MEMORY_REQUEST: 4Gi
These settings would typically be part of a larger YAML configuration file for your Airbyte deployment. The exact structure and additional settings would depend on your specific Airbyte setup and version. For the most accurate and up-to-date information on configuring your Airbyte instance, including full YAML examples, I recommend referring to the official Airbyte documentation: [Configuring Connector Resources](https://docs.airbyte.com/operator-guides/configuring-connector-resources) This documentation should provide more comprehensive guidance on how to structure your configuration file and where to place these memory settings within your overall Airbyte configuration.Marta Sakal
07/24/2025, 8:53 AMkapa.ai
07/24/2025, 8:53 AMkapa.ai
07/24/2025, 8:53 AMqueue_size
Documentation reference: > Size of the queue (Advanced): The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. [Source: MongoDB V2 Configuration Parameters](https://docs.airbyte.com/integrations/sources/mongodb-v2#configuration-parameters) Adjust this value according to your workload and available resources. If you increase the queue size, make sure to also monitor and, if necessary, increase the memory allocated to the connector to avoid out-of-memory errors. Note: The knowledge sources do not specify default or recommended values, so you may need to experiment to find the optimal setting for your use case.Marta Sakal
07/24/2025, 9:04 AMkapa.ai
07/24/2025, 9:05 AMkapa.ai
07/24/2025, 9:05 AMMarta Sakal
07/24/2025, 9:07 AMkapa.ai
07/24/2025, 9:07 AMkapa.ai
07/24/2025, 9:07 AMqueue_size
) for an existing MongoDB source connection in Airbyte, you need to edit the connection’s configuration directly. Here’s how you can do it: 1. In the Airbyte UI: - Go to Connections in the sidebar. - Click on the connection you want to update. - Click the Settings or Edit button for the source configuration. - Locate the Size of the queue (Advanced) or queue_size
parameter. - Update the value as needed. - Save or submit your changes. 2. Via the API: - You can also update the connection configuration using the Airbyte API by sending a PATCH or PUT request with the new configuration, including the updated queue_size
value. Note: The knowledge sources confirm that you can modify configuration settings for an existing connection through the UI or API, but do not provide a step-by-step API example or specify the exact UI field names for every parameter. If you do not see the advanced parameter in the UI, you may need to use the API to update it directly [MongoDB V2 Configuration Parameters](https://docs.airbyte.com/integrations/sources/mongodb-v2#configuration-parameters) [Configuring Connections](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/configuring-connections). If you need to update resource allocations (CPU/memory) for a specific connection, you can do so by running a SQL command directly on the Airbyte database, as shown below: sql update connection set resource_requirements = '{"cpu_limit": "2", "cpu_request": "2", "memory_limit": "2048Mi", "memory_request": "2048Mi"}' where id = '<connection-id>';
[Configuring Connection-Specific Requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements) If you need more detailed steps for your specific Airbyte version or deployment, please let me know!