-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
[Enhancement]: Regularly monitor peak and resident memory usage of the provider #32289
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
@breathingdust can #26742 please be added as a reference , this is the provider in which we have observed the largest increase in memory consumption |
We are regularly monitoring memory now and have accomplished reducing memory to an extent. For future travelers, here is a sum up. What we've doneFor this issue, we have:
What remains to be doneSee #33553. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Recent issue #31722 has demonstrated that the increasing size of the provider, combined with the recent addition of resources with a deep and complex schema has significantly increased the peak memory requirements of using the provider. This has put pressure on memory requirements in practitioner infrastructure deploy pipelines and has resulted in OOM errors when making changes to their infrastructure.
While we work on optimizing memory requirements, we should also begin to actively monitor the memory footprint of the provider as it evolves. This is likely to consist of a scheduled GitHub action to obtain a memory profile of the running provider via an acceptance test, and visualizing the results via pprof.
We should also define thresholds for what is considered an acceptable, vs an anomalous increase. This should allow us to more proactively respond to provider changes which result in outsized memory requirements.
Affected Resource(s) and/or Data Source(s)
All
References
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: