Your software
My Mautic version is: v5.0.4
My PHP version is: 8.0.30
My Database type and version is: RDS MySQL 8.0.35
Your problem
I was testing the new version of Mautic 5.0.4, and whenever I try to create several segments of approximately 50k contacts, the server always ends up running out of memory. I’ve been investigating what could be causing this, and I noticed that as the mautic:segments:update
process runs, the percentage of memory usage keeps increasing until the server runs out of memory. It’s an EC2 instance on AWS running with a t4g.medium (4GB RAM). What could be happening?
Steps I have tried to fix the problem:
- Create many contacts
- Create some segments
- Wait until process mautic:segments:update runs