This KB article will detail how Server Administrators can leverage DotMemory for troubleshooting purposes. DotMemory is a memory profiler that is used to take snapshots of your RAM, which can be used to identify Memory issues such as memory leaks.
NOTE: This will normally cause the service to lockup when it is taking a snapshot of what the memory is doing. IT will also use up space on your drive equal to the amount of MEM being used. For Example, if the MEM that is being consumed by SmarterMail is 10 GB, the dotTrace file is going to be 10 GB in size. The service will be unavailable during this time.
wget https://download.jetbrains.com/resharper/dotUltimate.2025.1.4/JetBrains.dotMemory.Console.linux-x64.2025.1.4.tar.gz
sudo mkdir -p JetBrains
sudo tar -xvzf JetBrains.dotMemory.Console.linux-x64.2025.1.4.tar.gz -C JetBrains
sudo mkdir /media/mynewdrive/JetBrains-dotMemory-Traces
sudo JetBrains/dotmemory get-snapshot MailService --all --save-to-dir=/media/mynewdrive/JetBrains-dotMemory-Traces
root@localhost:~# JetBrains/dotmemory get-snapshot MailService --all --save-to-dir=JetBrains-dotMemory-Traces Performs memory profiling of .NET applications Found 1 process(es): [1967327] MailService Attaching to [1967327] MailService runtime... Profiler connected. PID:1967327, Core CLR runtime v8.0.10.0 ATTACHED. Getting snapshot... [PID:1967327] Saving snapshot... ~7.18 M objects [PID:1967327] SNAPSHOT #1 SAVED. [PID:1967327] Processing snapshot #1... [PID:1967327] SNAPSHOT #1 READY. Profiler disconnected. PID:1967327 Saving workspace... WORKSPACE SAVED file:///root/JetBrains-dotMemory-Traces/[1967327]-MailService.2025-07-15T19-05-18.647.dmw
zip 20250715-DotMemory \[1967327\]-MailService.2025-07-15T19-05-18.647.dmw -m
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add noreply@smartertools.com to your trusted senders list in your email software.