hong-gyu
09/25/2023, 10:01 PMkapa.ai
09/25/2023, 10:02 PMJOB_MAIN_CONTAINER_MEMORY_REQUEST and JOB_MAIN_CONTAINER_MEMORY_LIMIT environment variables to custom values. These variables are applicable to both Docker and Kubernetes deployments. Here's an example of how a user set them in a previous support conversation: bash JOB_MAIN_CONTAINER_MEMORY_REQUEST=28g JOB_MAIN_CONTAINER_MEMORY_LIMIT=28g This user reported an increase in sync speed after increasing these variables and the instance size. Please note that all Source database connectors are Java connectors. This means that users currently need to over-specify memory resource for Java connectors. You can confirm the right configuration is being detected by navigating to the Job in the UI, and looking for the log. On Docker, the log will look something like this: bash Creating docker container = destination-e2e-test-write-39-0-vnqtl with resources io.airbyte.config.ResourceRequirements@1d86d7c9[cpuRequest=<null>,cpuLimit=<null>,memoryRequest=200Mi,memoryLimit=200Mi] On Kubernetes, the log will look something like this: bash 2022-08-12 01:22:20 INFO i.a.w.p.KubeProcessFactory(create):100 - Attempting to start pod = source-intercom-check-480195-0-abvnr for airbyte/source-intercom:0.1.24 with resources io.airbyte.config.ResourceRequirements@11cc9fb9[cpuRequest=2,cpuLimit=2,memoryRequest=200Mi,memoryLimit=200Mi] For more information, you can refer to the [Airbyte documentation on configuring connector resources](https://docs.airbyte.com/operator-guides/configuring-connector-resources) and [scaling Airbyte](https://docs.airbyte.com/operator-guides/scaling-airbyte). Sources: - [Airbyte Documentation: Configuring Connector Resources](https://docs.airbyte.com/operator-guides/configuring-connector-resources) - [Airbyte Documentation: Scaling Airbyte](https://docs.airbyte.com/operator-guides/scaling-airbyte) - [Previous Support Conversation in Slack](https://airbytehq.slack.com/archives/C021JANJ6TY/p1675218730001299)hong-gyu
09/25/2023, 10:17 PMhong-gyu
09/26/2023, 3:59 PMkapa.ai
09/26/2023, 3:59 PMkapa.ai
09/26/2023, 4:00 PM.env file and then restart Airbyte using Docker Compose. Here's an example of how to do this: bash # Stop Airbyte docker-compose down # Start Airbyte docker-compose up If you're using Kubernetes, you can modify the environment variables in the .env file in the respective directory and then redeploy Airbyte. Remember to always backup your data before making any changes to your Airbyte configuration. For more information, you can refer to the [Airbyte documentation on configuring Airbyte](https://docs.airbyte.com/operator-guides/configuring-airbyte). Sources: - [Airbyte Documentation: Configuring Airbyte](https://docs.airbyte.com/operator-guides/configuring-airbyte)hong-gyu
09/28/2023, 6:25 PM