Solved

Exchange Server Using all System Memory

Posted on 2011-03-08
11
572 Views
Last Modified: 2012-05-11
I have Exchange server 2007 running on windows ser ver 2008. It is a single instance, no back end server etc. It is running on a single domain with around 250 user accounts. My users are mainly connected to the Exchange server using http as we have a lot of people in many different location.

It has been running normal for some time but recently I have noticed Outlook takes time to respond to a lot of request. After looking at the server the System memory is being used up by Exchange services leaving less half a GB for system resources.

Has anyone had this problem and resolved it. Thanks for your suggestions.
0
Comment
Question by:carloc
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 4

Expert Comment

by:Scovndrel
ID: 35079968
Exchange is a notorious memory hog, and there're really nothing for it but to increase the memory on the server. Rebooting will bring it back down to a manageable level for a while, but it will creep up again.

Here's a forum thread that discusses the issue in more detail:
http://social.technet.microsoft.com/Forums/en/exchangesvradmin/thread/81334e30-6ff9-4d84-a8e2-3c833c9e999b
0
 
LVL 74

Accepted Solution

by:
Glen Knight earned 250 total points
ID: 35079969
First thing to check is that you have the latest service packs installed (SP3) followed by any available updates.  There was an issue that was fixed in the latest service pack with Outlook latency and resource hogging on CAS servers.

It's also quite normal for exchange to use all available memory, it will release memory as requested by other applications.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35079976
Sorry but rebooting your production exchange server is not something that should be suggested as a "fix" for something that is normal and by design.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 13

Assisted Solution

by:connectex
connectex earned 250 total points
ID: 35080007
This is by design. Exchange information store (store.exe) will take all the memory for database caching. It will only return memory if the system start experiencing a low memory situation. See this post: http://msexchangeteam.com/archive/2008/08/06/449484.aspx

But this section explains most of it (under Why we learned to love the 64-bit Platform):

Now, one of the results of being able to address more memory is the capability to cache more memory for each application. To allow this to happen for Exchange, the ESE Database Cache Size limit was removed to allow Exchange the ability cache more pages in memory. Accessing pages in memory is extremely fast, so the more data we cache in memory, the less we actually have to read andwrite from the disk. When following our best practice guidance around storage group deployment and memory sizing, Exchange 2007 reduces the amount of I/O required overall. This gave us rather huge performance gains.  For more information regarding I/O improvements on the 64-bit platform for Exchange, see the following blog post http://msexchangeteam.com/archive/2006/09/08/428860.aspx.
With no limitation in Database Cache for Exchange 2007, the memory usage for the store process will naturally be much higher compared to what Exchange 2003 used due to the many benefits discussed earlier. Memory allocation for the ESE cache is dynamic, so Jet will use all available memory on a system and return it as needed.  For example, if a server had, let's say, 16GB of physical RAM installed, the database cache could consume approximately 14GB of memory, roughly 2GB less than the total amount of physical RAM in the server, leaving enough memory for the system cache or other applications running on the server.

But if you really want to restrict the memory of the information store process here's how: http://mostlyexchange.blogspot.com/2007/08/restricting-ram-usage-in-exchange-2007.html. Just know by restricting it you may be killing Exchange servers performance.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35080016
DO NOT restrict the memory usage it WILL have a detrimental effect on performance!
0
 
LVL 13

Expert Comment

by:connectex
ID: 35080021
Demazter, I clearly mentioned that. But you know some people may have to learn the "hard way".
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35080026
You said MAY, there is no MAY about it.  It WILL!

0
 
LVL 4

Expert Comment

by:Scovndrel
ID: 35080126
My comment about rebooting was actually meant to cover the possible "but I rebooted and it got better for a while" statement that might come up in discussion. I was indicating that even if a reboot makes it better for a while, the problem will return. It was not intended as a fix. The fix I suggested is to add more RAM. Period.

Your suggestion of making sure the latest hotfixes are applied to avoid the Outlook latency is also good. If it were my server, I'd have already done the hotfixes before posting the question (so I made an invalid assumption about that), and I'd add more RAM.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35080225
Adding more RAM will not actually help, exchange will just consume more of it.

You would be surprised how many people don't apply service packs/hotfixes which is why it's the first suggestion I always make.
0
 
LVL 4

Expert Comment

by:Scovndrel
ID: 35080333
I've always been able to get to the point where Exchange doesn't consume all of the available memory (just most of it). But, re-reading the original post, he doesn't say it's using all of it. Just most of it. So you're probably right.
0
 

Author Closing Comment

by:carloc
ID: 35316315
Thanks, your suggestions helped understand how this works in more detail.

Appreciate your help and apologize about the delay in responding.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question