HomeMicrosoftMicrosoft Exchange ServerLimit Exchange 2010 / 2007 Store.exe Memory Usage on a Windows Small Business Server 2011 / 2008

Limit Exchange 2010 / 2007 Store.exe Memory Usage on a Windows Small Business Server 2011 / 2008


It has been reported by many SBS 2011 administrators that Exchange 2010 is extremely slow, unresponsive and utilizes virtually all available memory. This causes system performance degradation and a slow user and Exchange Management Console access and experience. If you take a look at the Task Manager you will see that the store.exe Exchange system process is using huge amounts of memory. This article will explain how to limit memory usage on a SBS 2011 Exchange Server. If you find that your Exchange 2010 Server is slow and bogged down please continue to read below on how to correct this. This will explain how to correct the Exchange Server store.exe process for utilizing all available memory and will help correct a slow or non-responsive SBS 2011 Server.

Please note that the process for limiting the amount of memory is different for Exchange 2007 & Exchange 2010. Exchange Server 2007 uses 8KN pages where as Exchange Server 2010 uses 32KB pages. This is explained in greater detail below.

How To Fix High Exchange Server 2010 Memory Usage

  • Start Windows Task Manager. (Go to Start, then run and type taskmgr.exe) Click on the Performance Tab. Under the Phusical Memory (MB) heading you will see a very small amount of Free Memory available. In this example the amount of Free Memory is actually 0. The GUI Memory chart shows virtually all memory is used as well.

windows task manager

 

  • Now click on the Processes tab. Sort the processes by Memory. Do this by clicking the memory heading. Then sort by largest. You will now see that the store.exe Exchange Process is utilizing almost 4GB of memory. You now decide that you would like to limit the amount of memory consumed by the Exchange Server store.exe. You have decided that you would like to free up 500MB of memory and limit the total amount that store.exe can utilize to 3.5GB.

exchange memory store

 

The next step is to open ASDIEDIT.msc and change two settings. To limit or reduce the amount of memory that Exchange Server 2007 or 2010 uses you must change both the msExchESEParamCacheSizeMax and the msExchESEParamCacheSizeMin attributes. Do not just set one of the attributes and not configure the other.

  • To open ADSIEDIT.msc go to start, then type ADSIEDIT.msc in the run box. Then double click on the ADSIEDIT.msc application

open adsiedit

 

  • Now right click ADSI Edit and select Connect to

adsiedit connect to

 

  • Under the Select a well known Naming Context: pull down box click on Configuration and then select OK

naming context configuration

 

  • Now navigate to the following attribute. Configuration\Services\Microsoft Exchange\<First Organization>\Administrative Groups\<Exchange Administrative Group>\Servers\<Server Name>\Information Store\  Right click on Information Store and select properties.

information store

  • Next, scroll down to the msExchESEParamCacheSizeMax attribute. Double click on the attribute and change the value to the number after working out the formula below.

    For Exchange 2007 Mail Servers

    We are going to limit the total memory consumption of the Exchange Server 2007 store.exe to 4GB. So the formula is; 

    1,048,576 * 4 (Maximum amount of memory you wish to use) = 4194304 / 8 = 524288 

    For Exchange 2010 Mail Servers or SBS 2011 Servers

    1,048,576 * 4 (Maximum amount of memory you wish to use) = 4194304 / 32 = 131072 

    Hit OK to apply the new Exchange Server settings. 

    Now find the msExchESEParamCacheSizeMin 

    We will also need to set this attribute as well. We are going to set the minimum memory usage setting for store.exe to 3.5 GB. The formula is; 

    For Exchange 2007 Mail Servers

    1,048,576 * 3.5 (Minimum amount of memory you wish to use) = 3670016 / 8 = 458752 

    For Exchange 2010 Mail Servers or SBS 2011 Servers 

    1,048,576 * 3.5 (Minimum amount of memory you wish to use) = 3670016 / 32 = 114688

maximum minimum exchange memory

  • Now reboot your server for the changes to take affect.

Your Exchange Server is consuming too much Memory Tips and Best Practices

  • Please be careful when implementing this solution to limit the amount of memory an Exchange Server 2007 or 2010 uses. When configured improperly this setting may actually degrade system and server performance. You may want to monitor the following Exchange counters in Windows Performance Monitor after making the above mentioned configuration changes;
    • Database Cache Size
    • Database Cache Size Min
    • Database Cache Size Max
  • This setting is most useful on a Windows SBS (Small Business Server) 2010 or 2008. Because of the many applications that are installed on a SBS server limiting the amount of memory is a critical function.

blog comments powered by Disqus

Last Updated on Monday, 22 October 2012 09:45

 
Free Domain with 12+ Months of Website Builder
344808_CrashPlan 10% Savings - 120x600 animated
Go Daddy Deal of the Week: 32% off your entire order! Offer expires 12/4/12.

Google Apps for Business Reseller

Google Apps for Business ResellerHeard the buzz surrounding Google Apps for Business?  Ready to take the plunge into the cloud and see how Google Apps can benefit your Business, Education or Non Profit entity?  Sign up now with a professional, authorized Google Apps Reseller.  

Email gapps@kbcloud.com for more info...

Postini Message Security - Discovery

Postini message security and discoveryWhy waste time sorting through Spam and other email nuances.  Stop SPAM now and increase the security and reliability of your E-Mail messaging system or service by incorporating Postini.  Google owned Postini is filtering millions of SPAM and other threats each and every day. One of the best in the industry. Try it Today! AntiVirus, AntiSpam and Email Encryption.

Email gapps@kbcloud.com for more info...

IT Consulting Services

it consulting servicesLooking for IT Consulting Services? Contact the best. We help hundreds of companies just like yours implement the latest technologies. Whether you are interested in Cloud based solutions, Google Apps, Hosted Exchanges, Online Backups, Microsoft Networking or Cisco Support we can help!

Email gapps@kbcloud.com for more info...