Memory usage

I am opening a new topic since most of the memory usage topics are quite old and seem to be different situations then mine…

I am running ha container and never had any problems until 2023.3 and migrating my database to mariadb (which runs in a separate container on the same NAS). After updating and migrating the database, I started to notice slower responses after a few days of use. After usually 5-8 days I needed to completely restart the container since HA was not loading any more. I upgraded to 2023.5 a few days ago and hoped the problem would be fixed, but this does not seem to be the case. I restarted the container again last night after HA becoming unresponsive and saw that the memory usage was at nearly 2 GB. After the restart yesterday it now sits at ~ 400 MB, which I would consider normal.

Does anybody have an idea how to find out what is going on ?