My original post says Linux. Devil is in the details.
To be very clear. New Debian install, new Smartermail install, migrated from an existing windows server per instructions of Smartertools. Ran without issue. As soon as MAPI/EWS and EAS were used with newly added domains the issue started. Stop using those and the issue stops.
So the thing about Linux, not universal like windows. This server is:
Description: Debian GNU/Linux 12 (bookworm)
Linux version 6.1.0-32-amd64 (gcc-12 (Debian 12.2.0-14) 12.2.0
glibc Version: 2.36-9+deb12u10
This may or may not be the same as others. It is also of interest that Smartertools has chosen NOT to install standard dotNet packages as instructed by Microsoft. So every system is different. Having now written software for over 40 years I can assure you that this is a memory leak. It is at the core of MAPI/EWS and EAS. It is reproducible. It is predictable and after Smartertools looking at the server they could not find a configuration issue/error.
This does not mean that others will experience the issue or that Windows servers exhibit the issue. Windows and Linux memory management sub-systems are entirely different All of the kernel work we did in Linux during the mid-2000s taught us that. Much of the code we brough from other platforms to Linux had issues.
When users purchase software, pay for maintenance and pay for support they should not be subjected to being the debug platform. This type of issue would have caused a failing grade in my CS classes 43 years ago. Free you get what you pay for. It is great that that software is working on many platforms. I hope that continues.
No user or environment issue should cause these.
Feb 01 22:41:43 mail kernel: .NET TP Worker invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
Feb 01 22:41:43 mail kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/smartermail.service,task=MailService,pid=817,uid=0
Feb 01 22:41:43 mail kernel: Out of memory: Killed process 817 (MailService) total-vm:309299092kB, anon-rss:30568144kB, file-rss:0kB, shmem-rss:153620kB, UID:0 pgtables:64220kB oom_score_adj:0