I think it depend on the environment, OS etc.. On my machine TestCafe process takes about 200MB in this case. I guess you can try to run it in aws fargate with different settings and find the best one.