Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix c8 memory crash #1129

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Fix c8 memory crash #1129

merged 1 commit into from
Jun 20, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jun 20, 2024

We have almost 5000 tests, which makes c8 crash. This is because c8 holds all the information collected for all tests in memory all at once.

This PR fixes this using the --merge-async flag, which is intended for that specific problem.
See https://github.com/bcoe/c8/blob/ff146b4dde004c62651b57c33cedd8353c94c423/lib/parse-args.js#L155

@sindresorhus sindresorhus merged commit 78edcb9 into main Jun 20, 2024
14 checks passed
@sindresorhus sindresorhus deleted the upgrade-c8 branch June 20, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants