mailtrain icon indicating copy to clipboard operation
mailtrain copied to clipboard

Possible memory leak

Open ericuldall opened this issue 2 years ago • 1 comments

We run multiple instances of mailtrain and they all behave the exact same way. Memory grows each day until the host machine has exhausted all ram then campaigns just freeze. Restarting the instance fixes the issue as the memory is cleared and the process begins again. Depending on the volume of mail we send this happens between 2 weeks to 1 month. Here's an image of our memory chart to show the problem. I've not yet been able to track the issue to an individual process (worker, sender, import, etc...) but there's certainly something at play here that needs to be addressed. Has anyone else experienced this? image

ericuldall avatar Sep 21 '22 23:09 ericuldall

Thinking this might be related to https://github.com/nodemailer/nodemailer/issues/979 I haven't updated to nodemailer ^6.0.0 yet. Will try and report back

ericuldall avatar Sep 30 '22 17:09 ericuldall

fixed when upgrading nodemailer

ericuldall avatar Oct 07 '22 19:10 ericuldall