https://flyte.org logo
#ask-the-community
Title
# ask-the-community
h

Haytham Amin

02/15/2024, 2:59 AM
Hello! I am running flyte-binary v1.10.7 and getting the following memory error although I increased resource limits
Copy code
Error: rpc error: code = InvalidArgument desc = Requested MEMORY default [2Gi] is greater than current limit set in the platform configuration [1Gi]. Please contact Flyte Admins to change these limits or consult the configuration
{"json":{"src":"main.go:13"},"level":"error","msg":"rpc error: code = InvalidArgument desc = Requested MEMORY default [2Gi] is greater than current limit set in the platform configuration [1Gi]. Please contact Flyte Admins to change these limits or consult the configuration","ts":"2024-02-14T18:52:46-08:00"}
Copy code
# resources Resource limits and requests for Flyte container
  # Uncomment and update to specify resources for deployment
  resources:
    limits:
      memory: 10Gi
    requests:
      cpu: 1
      memory: 4Gi
k

Kevin Su

02/15/2024, 4:46 AM
did you restart flyteadmin?
d

David Espejo (he/him)

02/15/2024, 4:32 PM
Hi Haytham I think the limits you shared here are for the Flyte Pod For the tasks you should set them under
configuration.inline
Copy code
task_resources:
      defaults:
        cpu: 500m
        memory: 500Mi
        storage: 500Mi
      limits:
        memory: 2Gi
the above numbers are just an example btw
h

Haytham Amin

02/15/2024, 4:33 PM
Ahh
Makes since
2 Views