To work around this problem and improve high memory usage for this process, change the Garbage Collection type. By default, the Workstation garbage collection type is used instead of the Server garbage collection type. Change the type to "Server" as a workaround. This is because this garbage collection type has several performance advantages that will help clean up freed memory more quickly than the Workstation option. This makes it less likely that the process will continue to use more than�2 GB of memory long enough for the process to crash.
Change the garbage collection type for the process in the MSExchangeMailboxServerAssistants.exe.config configuration file. This file is located in the \bin folder in the Exchange installation folder. The following is the default contents of the configuration file:
<configuration>
<runtime>
<gcConcurrent enabled="false"/>
<generatePublisherEvidence enabled="false" />
</runtime>
<appSettings>
</appSettings>
</configuration>
To change the garbage collection type to "Server," specify the following settings in the file:
<configuration>
<runtime>
<gcServer enabled="true"/>
<generatePublisherEvidence enabled="false" />
</runtime>
<appSettings>
</appSettings>
</configuration>
Note The Server garbage collection type works only on servers that have more than one processor (physical or virtual). After you make the change to the configuration file, restart the Mailbox Assistants service for the change to take effect.