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

Stop wasting CPU cycles and memory for large workspaces #661

Merged
merged 3 commits into from
Jan 6, 2023

Conversation

skovhus
Copy link
Collaborator

@skovhus skovhus commented Jan 6, 2023

Even though we limited the background analysis through the backgroundAnalysisMaxFiles config option, the globbing library actually silently continued to find additional files matching the given glob – causing out of memory exceptions and wasting a lot of CPU cycles.

This is now fixed and the CPU and memory usage is drastically reduced.

Related: #594 #630 #654 #638 #472 #297

Even though we limited the background analysis through the
backgroundAnalysisMaxFiles config option, fast-glob continued in
the background – potentially running out of memory... A lot of wasted
CPU cycles.
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.

1 participant