Hey Mastra!
I have this strange behavior that keeps eating RAM until it hits the limit and, by using AWS ECS, it just restarts and we're good to go.
I'm using ECS with 1 vcpu and 2GB RAM, which I know is not much, but due to my use case it is better to have 2~3 small instances because our workload goes down a lot after evening.
We also have 1.2GB (1.9M+ rows) on mastra_messages table, 1.7GB on mastra_workflow_snapshot.
But the RAM constantly increasing is an expected behavior due to the caching and memory features? If not, any suggestions on how do I even start investigating this?