dotansimha / dotansimha/graphql-code-generator

Figure out `jest` memory leaks

Open
#8,026 0 comments 2 reactions 0 assignees View on GitHub
core
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

While adding CI for different versions https://github.com/dotansimha/graphql-code-generator/pull/8013 the CI on node 18 was failing.

After investigating as we run more tests the memory usage just keeps going up
```
yarn test --logHeapUsage --runInBand
```

Locally I tried running global garbage collector after each tests which seem to reduce some usage but https://github.com/dotansimha/graphql-code-generator/pull/8013/commits/93a0067a275ba456fea55efb7ad36f09f7112dc8 it still isn't enough

We need to investigate ways we can fix this properly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.