Which component needs the most memory, and why?
AdvancedConceptArgo CD Architecture & Internals
Answer
Usually the application controller, because it keeps an in-memory cache of every watched resource in every managed cluster (not just the ones Argo CD deploys), plus resource trees per app. Big clusters with many ConfigMaps, Events-like CRDs or high-churn custom resources inflate it. The repo-server can spike too during heavy Helm renders or with large monorepos. Mitigations: resource.exclusions for kinds you do not manage, sharding, and reposerver.parallelism.limit.
More on Argo CD Architecture & Internals
What are the main components of Argo CD?BeginnerWhat does the argocd-repo-server do, and what does it not do?BeginnerWhat does the application controller do on each reconcile?IntermediateWhat is stored in Redis, and what happens if Redis is lost?IntermediateWhy is the application controller a StatefulSet rather than a Deployment?AdvancedWhere does Argo CD keep its configuration?Beginner