bug: infrahub-server memory usage keeps increasing over time #6021
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
priority/2
This issue stalls work on the project or its dependents, it's a blocker for a release
state/planned
This issue is planned to be worked on in an upcoming release.
type/bug
Something isn't working as expected
Component
API Server / GraphQL
Infrahub version
1.1.8
Current Behavior
The amount of memory consumed by the infrahub-server seems to increase over time, and it never comes back down again.
For example, see this screenshot of a graph that plots memory consumption over time:
Expected Behavior
Memory consumption should fluctuate based on the usage of the worker.
Steps to Reproduce
With every branch you create and generator you run, you will see the memory consumption increase until you reach the hard limit that you set or when you go OOM.
The only way to bring memory consumption back down is to restart the server.
Additional Information
Workaround: We can restart infrahub-server to bring memory usage back down.
The text was updated successfully, but these errors were encountered: