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

Yicheng Lu

04/10/2023, 3:42 AM
Hi, I am trying to play with the sandbox, but I always get oom killed no matter what images or tasks I use. I use the following code:
Copy code
curl -sL <https://ctl.flyte.org/install|https://ctl.flyte.org/install> | sudo bash -s -- -b /usr/local/bin 
flytectl demo start 
export FLYTECTL_CONFIG=/root/.flyte/config-sandbox.yaml 
# then, pyflyte run --remote ./test.py wf
It is unlikely due to insufficient memory since any tasks can cause the above problem. Any hint on this? thank you in advance!
k

Ketan (kumare3)

04/10/2023, 3:49 AM
your default docker memory allocation is probably too low
you should raise it
y

Yicheng Lu

04/10/2023, 4:28 AM
THANK YOU! I have tried another time, and seems I had enough memory but still got oom kill.
s

Samhita Alla

04/10/2023, 5:13 AM
You have enough memory but the default mem requests isn't sufficient in your case because you enabled decks. Can you increase your task's
mem
? https://docs.flyte.org/projects/cookbook/en/latest/auto/deployment/customizing_resources.html
y

Yicheng Lu

04/10/2023, 5:16 AM
I get the point! Thank you!
2 Views