Hello! I am running flyte-binary v1.10.7 and getti...
# ask-the-community
h
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
did you restart flyteadmin?
d
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
Ahh
Makes since