Bird
0
0

You created a Fargate service but the tasks keep failing with "RESOURCE:MEMORY" errors. What is the most likely cause?

medium📝 Debug Q14 of 15
AWS - ECS and Fargate
You created a Fargate service but the tasks keep failing with "RESOURCE:MEMORY" errors. What is the most likely cause?
AThe task definition requests more memory than the Fargate platform allows.
BThe container image is missing from the registry.
CThe service is not attached to a load balancer.
DThe CPU units are set too high.
Step-by-Step Solution
Solution:
  1. Step 1: Understand RESOURCE:MEMORY errors

    This error means the task requested more memory than available or allowed by Fargate limits.
  2. Step 2: Evaluate other options

    Missing images cause different errors, load balancer issues don't cause memory errors, and CPU settings affect CPU, not memory.
  3. Final Answer:

    The task definition requests more memory than the Fargate platform allows. -> Option A
  4. Quick Check:

    Memory error means memory request too high = C [OK]
Quick Trick: Memory errors usually mean request exceeds limits [OK]
Common Mistakes:
  • Blaming missing container images
  • Confusing CPU and memory errors
  • Ignoring platform memory limits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes