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

Optimize memory usage when using --processes #2564

Merged
merged 1 commit into from Jan 25, 2024

Conversation

cyberw
Copy link
Collaborator

@cyberw cyberw commented Jan 25, 2024

When starting with --processes, call gc.collect() and (most importantly) gc.freeze() before forking to reduce copy-on-write due to ref count updates

…ly) gc.freeze() before forking to reduce copy-on-write due to ref count updates
@cyberw cyberw merged commit 13a76d6 into master Jan 25, 2024
20 of 21 checks passed
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.

None yet

1 participant