Zitadel v4 High memory usage
Hey there folks
Use-case:
I'm currently testing a migration to Zitadel v4.
Environment:
Self-hosted on AWS using ECS Fargate.
Version:
Migrating from Zitadel v3.2.0 to v4.0.0.
Stack:
Zitadel running in ECS Fargate with auto-scaling enabled based on memory utilization.
The ecs task specs are: 0.25 vCPU and 0.5 GB Memory
What you expected to happen:
I expected a smooth upgrade without any significant changes in memory usage or scaling behavior.
What went wrong:
After upgrading to v4.0.0 in my test environment, I noticed ECS Fargate auto-scaling being triggered frequently, spinning up new tasks. Upon checking the metrics, Zitadel was using around 70β80% of the allocated memory, which is significantly higher than before the upgrade.
Attachments:
Iβve attached a screenshot showing memory utilization before and after the migration.
Question:
Has anyone else experienced similar memory usage increases after upgrading to v4.0.0?
Use-case:
I'm currently testing a migration to Zitadel v4.
Environment:
Self-hosted on AWS using ECS Fargate.
Version:
Migrating from Zitadel v3.2.0 to v4.0.0.
Stack:
Zitadel running in ECS Fargate with auto-scaling enabled based on memory utilization.
The ecs task specs are: 0.25 vCPU and 0.5 GB Memory
What you expected to happen:
I expected a smooth upgrade without any significant changes in memory usage or scaling behavior.
What went wrong:
After upgrading to v4.0.0 in my test environment, I noticed ECS Fargate auto-scaling being triggered frequently, spinning up new tasks. Upon checking the metrics, Zitadel was using around 70β80% of the allocated memory, which is significantly higher than before the upgrade.
Attachments:
Iβve attached a screenshot showing memory utilization before and after the migration.
Question:
Has anyone else experienced similar memory usage increases after upgrading to v4.0.0?

