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

Huge memory footprint #71

Open
jgkirschbaum opened this issue Mar 8, 2024 · 3 comments
Open

Huge memory footprint #71

jgkirschbaum opened this issue Mar 8, 2024 · 3 comments

Comments

@jgkirschbaum
Copy link

Thank you for this great product.

We tested capacitor on one of our k8s clusters and figured out, that capacitor uses a lot of memory. Our cluster has regarding to flux the following basic data:

  • sources: 1
  • kustomizations: 2
  • helm releases: 67

We are using capacitor v0.3.2 with flux v2.2.3 and kubernetes v1.27.5

Grafana gives us the following memory related graph:

memory

The first and the last peak are single reload requests on the ui, the middle part are 3-times 3 parallel reload requests.

Normal behavior or bug?

@laszlocph
Copy link
Contributor

We can certainly do better (#18)
These numbers are not wanted for sure.

@laszlocph
Copy link
Contributor

laszlocph commented Mar 18, 2024

Measurement 1

  • sources: 8
  • kustomizations: 51
  • helm releases: 21
image

Measurement 2

  • sources: 3
  • kustomizations: 243
  • helm releases: 14
image

No conclusion yet.
Slowness is an issue for these clusters.
Next test: increase the number of helm charts and measure.

@jgkirschbaum
Copy link
Author

Maybe it's the number of dependencies. We have a lot of dependencies between the helm releases.

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

No branches or pull requests

2 participants