Skip to content

Commit

Permalink
try to increase jest memory
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac committed Jan 29, 2024
1 parent d63faee commit 2354e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let config: Config.InitialOptions = {
'^@infra/(.*)$': '<rootDir>/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) {
Expand Down

0 comments on commit 2354e69

Please sign in to comment.