This message was deleted.
# ask-ai
s
This message was deleted.
k
To increase the memory requirements for the orchestrator container in Airbyte, you should set the following environment variables: -
JOB_MAIN_CONTAINER_MEMORY_REQUEST
— defines the minimum RAM allocated. -
JOB_MAIN_CONTAINER_MEMORY_LIMIT
— defines the maximum RAM allocated. These variables apply to all job containers, including the orchestrator, and can be set in your deployment configuration (such as your
.env
file for Docker or
values.yaml
for Kubernetes). The units follow Docker or Kubernetes conventions, so you can use values like
2g
for 2 gigabytes or
2048Mi
for 2048 mebibytes. Example for Docker:
Copy code
JOB_MAIN_CONTAINER_MEMORY_REQUEST=2g JOB_MAIN_CONTAINER_MEMORY_LIMIT=2g
Example for Kubernetes (
values.yaml
):
Copy code
yaml global:   jobs:     resources:       requests:         memory: 2Gi       limits:         memory: 2Gi
Setting these variables ensures that the orchestrator pods (and other job containers) have the appropriate memory allocated to them. Note that these settings apply to all job containers, not just the orchestrator, and more granular control (e.g., per job type) requires additional configuration at the connector or connection level via the database, as described in the documentation and forum posts [source](https://discuss.airbyte.io/t/3775) [Configuring Connector Resources](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-connector-resources).