Reproduce with a single suite: run npx jest PATH_TO_SUITE --runInBand. Expected: the suite passes alone, confirming a parallel memory problem rather than a broken test.

Limit parallelism: run npx jest --maxWorkers=2. Expected: the full run completes, using more wall time but less peak memory.

Raise the heap for CI: set NODE_OPTIONS to --max-old-space-size=4096 before the Jest command. Expected: workers stop being killed on the largest suites.

Find the heavy suite: run with --logHeapUsage and note suites whose heap keeps growing. Expected: one or a few suites stand out instead of uniform growth.

Fix the heavy suite by streaming large fixtures, clearing module registries between tests, or splitting it. Expected: heap for that suite plateaus, and maxWorkers can be raised again.