If this is new, something changed... It is unlikely that a hardware failure would cause this kind of issue as it is purely software, some kind of "memory leak" in a process. I have done lots of PMS integration with this system and never seen this issue occur because of that, not saying it's impossible though.
Honestly, I am surprised this suddenly appears after years of trouble free operation. If possible, I would consider renewing your SWA and upgrading the RAM to 1GB, and upgrade to at least the current 8.0 release, preferably to current if your periphery hardware supports it. Even if you do renew SWA and try to work with Mitel, I would bet a steak dinner their very first recommendation would be to upgrade as far as possible and reproduce the issue. Remember that MCD 5.0 was released October of 2011, and reached end of support with the release of MiVB 7.0 in June of 2014... You are running software that is 9 years old, it should REALLY be upgraded