From 2354e69d25584bf2d7b284d86ac404bcb809d08f Mon Sep 17 00:00:00 2001 From: virgilchiriac Date: Mon, 29 Jan 2024 10:49:07 +0100 Subject: [PATCH] try to increase jest memory --- jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.ts b/jest.config.ts index c4881b49710..4f30624cba0 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -29,7 +29,7 @@ let config: Config.InitialOptions = { '^@infra/(.*)$': '/apps/server/src/infra/$1', }, maxWorkers: 2, // limited for not taking all workers within of a single github action - workerIdleMemoryLimit: '1GB', + workerIdleMemoryLimit: '1.5GB', // without this, jest can lead to big memory leaks and out of memory errors }; if (!process.env.RUN_WITHOUT_JEST_COVERAGE) {