We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/unionai-oss/union-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
oom_fix.py•385 B
import flyte
env = flyte.TaskEnvironment(
name="oomer_env",
resources=flyte.Resources(cpu="2", memory="250Mi"), # ❌ this causes an OOM!
)
@env.task
async def oomer(x: int):
large_list = [x for _ in range(100_000_000)]
print(large_list)
@env.task
async def oom_wf(x: int):
"""A workflow that creates a large list and prints it."""
return await oomer(x)