Hi, could someone explain why circleci’s docker performance is so bad, and how to mitigate this?
Our tests on circleci frequently crash due to memory errors or end up hanging until they time out. We’re running these tests in the large resource class with 8gb of ram. We run the exact same code, also in docker containers, on aws t4g.small instances with 2gb ram, and the tests run quickly and complete within a few seconds.
This code has no sidecar containers, no network connectivity, and no external dependencies of any other sort - it’s just basic unit tests using jest. Why isn’t circleci able to handle this even with 4x the resources? Is there some special configuration required to handle docker containers, or is this just an innate limitation of circleci?