Server 2008 R2 - Metafile Cache Memory Consumption...

This question is related to posting
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b49424d-08c1-4fc4-bc9a-3569ab978efe, the final comment in the thread reading:
"I ended up opening a ticket with Microsoft.  It was indeed the exact same problem as people were having with Server 2008, which Microsoft was kind enough to provide a publicly available fix, but, for unknown reasons, have not provided for Server 2008
R2.  They provided me with the DynCache fix, which allowed me to set a limit on how much memory was used.
Problem solved!
They even ended up charging me $100 for the fix, despite the fact that if the issue is Microsoft's, there is supposed to be no charge.  I was going to dispute it but it got lost in the shuffle.
So, open a ticket with MS and they should provide you with DynCache, just don't let them charge you for it.  Releasing a product then charging extra to make it work correctly is called a racket in my business...
Hope that helps"
I'm having the exact same issue with one of our production servers. I done the troubleshooting and I know that this is the problem. The simple question is, can I obtain dyncache for 2008 R2 without going to the trouble of opening a ticket, handing over my
credit card information and then arguing about whatever it is that they want to charge me.
Thanks in advance!
Lou Laczo, IT Manager, Conterra LLC

Word up folks. 
I have had success using SetSystemFileCacheSize to tame 2008 R2 memory management. 
-Copy SetSystemFileCacheSize.exe & EmptyStandbyList.exe to C:\Windows\System32\ 
-Create simple batch file to execute  SetSystemFileCacheSize.exe flush & EmptyStandbyList.exe 
-Create a Task to run the batch file as often as needed. 
For our environment, running this Task once a day after our nightly backup routines is sufficient. 
Hell, I suppose I could add these lines to the end of my backup scripts. Hmmm... Will have to test this. 

Similar Messages

  • SSL session cache memory consumption

    Hello,
    I am implementing a high availability application that uses SSL session caching. How much memory does it consume? I mean, is setting session cache size to unlimited a 'safe' option?
    Thanks.

    Not for a server, limit it to something. It's in the server's interest to keep sessions few and short-lived, but conversely it's in the client's interest to keep sessions many and long-lived.
    A 'session' object contains the master secret and the current session key, and references to the peer certificate chain.

  • ITS 620 Template Cache - unlimited memory consumption

    Hi,
       We have patched standalone ITS 620 to 23 to resolve some issues we have with
    the display of ITS screens via the Mozilla browser. However, we are now encountering memory issues where the Agate process is consuming much more than is allocated via the threads and sessions values.
       With patch 23 we can now see the template cache value and it consumes all the free physical memory on the machine. The 'Cachesize' parameter is set to a much lower value than this:
       Can anyone tell me:
    1. Is this behaviour correct for this cache?
    2. How do we disable the cache?
    3. How do we restrict the size of the cache?
       Thanks.
    /regards,
    Conor.

    Hi Conor,
    ITS development is not aware of memory issues with PL 23.
    The memory the template cache allocates does not depend on the "Cachesize" parameter. This parameter is for RFC connections of flowlogic services.
    If after PL 23 you have Mozilla user you haven't before this would explain the increase of the template cache memory consumption. For each browser and language the amount of memory in the templates cache increases.
    You surely could disable the templates cache but this would hit performance (switch parameter StaticTemplates to 0 in ITS Admin - <Your_Instance> Configuration - Performance). On each template access the template would have to be parsed again. This switch is intended for a development environment only.
    The best you can do is to setup ITS server on 64-Bit OS and 64-Bit ITS 6.20 executables. On 64-Bit you can forget about memory issues due 32-Bit address space limitations.
    If you this is not possible you have to reduce the memory by
    - forwarding requests with specific languages to specific ITS instances
    - forwarding request from Browsers like Mozilla to a specific ITS instances
    - checking peak values in ITS Admin Overview and tune parameters MaxSessions, MaxWorkthreads accordingly. Be carefull!!
    SAP note 720428 gives you advise about the most important ITS 6.20 parameters.
    Best regards,
    Klaus

  • Physical memory cache behavior in Windows Server 2008 Enterprise

    I have a question regarding how windows manages the cache portion of phyiscal memory.  I have 2 servers which are identical OS configurations, hardware and experience nearly identical workloads.  Server 1 appears to use its cache a lot. I often
    see physical cache at at 75% of total memory (total is 16gb for both servers). I also see that the cache stays this high
    even when overall memory utilization is minimal (say approx. 3-4gb out of 16gb for long durations). I suppose this means windows memory manager is keeping pages in the cache because it anticipates it may need them again, but would overwrite them with
    new data if new processes needed it (I think of  this cached memory when the system is near idle as "available" but correct me if I am wrong?)
    Server 2 (again same workload and identical hardware, OS, configuration) doesn't appear to use cache as much. In fact, cache is always low round the clock (2 gbs usually) even when there is little to no memory utilization from processes outside the OS. Basically,
    it is low when the server is near idle, while the server 2 keeps it very high during the same period of minimal workload. Why the difference? Does this behavior sound normal?  Please advise. I am not a Windows Admin btw. I have a rudimentary understanding
    of memory.. or so I believe at least : )
    Thanks.

    Hi,
    Although both server are identical OS configurations, hardware and experience nearly identical workloads, there are still differences between them. We can use task manager on both server and Check which processes are using physical memory, please go through
    the below article to check more details about windows performance issue:
    Troubleshooting Windows Performance Issues: Lots of RAM but no Available Memory
    http://blogs.technet.com/b/mspfe/archive/2012/12/06/lots-of-ram-but-no-available-memory.aspx
    Regards,
    Yan Li
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • Dynamic Cache Service for Windows Server 2008 R2

    We have problem with Metafile memory overflow on our server that described on a lot of topics.
    I need DynCache for win2008r2 server.
    Could you please help us with this issue?

    By design.  The memory management algorithms in Windows 7 and Windows Server 2008 R2 operating systems were updated to address many file caching problems
    found in previous versions of Windows.You do not need to install this additional service.
    http://blogs.msdn.com/b/ntdebugging/archive/2009/02/06/microsoft-windows-dynamic-cache-service.aspx
    http://blogs.msdn.com/b/ntdebugging/archive/2007/11/27/too-much-cache.aspx
    http://www.arabitpro.com

  • Task manager on windows server 2008 doesn't show the memory from newly installed 2nd CPU

    Hi,
    We have a dual processor dell power edge t410 running windows server 2008 (64-bit), standard edition. I have recently added a 2nd xeon x5560 quad-core processor (first one is also x5560 with 32GB (4x8) memory) and 16GB ram (4x4). Seems like the new CPU is
    recognized in BIOS, Dell's server admin app and task manager shows 16 vertical boxes (hyper threading is on both cpus) under Performance->CPU Usage History and these boxes show processor load spread relatively evenly across all threads. On the other hand
    the additional memory for this CPU is visible in the BIOS, Dell server admin but not in the task manager, which still shows the 32gb under performance->physical memory. Rammap also shows only 32GB.. Currently running proprietary processes that along with
    the metafile and windows own ring up nearly 30GB, which in turn causes system latency for GUI and apps, as if the additional 16GB are not there...
    So the questions are these:
    1) does anybody know why the added memory doesn't show up in the task manager / rammap?
    2) if the new memory doesn't show up, does this mean that Windows does not use it (which should be impossible if the CPU is utilized, unless I am wrong about windows using the cpu..)?
    Thank you,
    - Kiril

    Thanks for the reply Ravikumar,
    Unfortunately this solution is inapplicable to my version of the OS as it is 64-bit and not 32-bit. Do you have any other ideas?
    Best,
    - Kiril
    Yes, PAE((Physical Address Extension) is supported only on 32-bit versions of the
    Windows, operating system 64-bit versions of Windows do not support PAE. For information about device driver and system requirements for 64-bit versions of Windows, see
    64-bit System Design. The Address Windowing Extension (AWE) API is supported on 32-bit systems. It is also supported on x64 systems for both native and Wow64 applications.
    Useful link for Address Windowing Extensions is:http://msdn.microsoft.com/en-us/library/windows/desktop/aa366527(v=vs.85).aspx
    If the above info does not help you, please contact dell as suggested by
    Shaon Shan.
    Regards, Ravikumar P

  • Windows Server 2008 R2 SP1 Dynamic Cache tool

    I have a memory leak on my Windows Server 2008 R2 SP1(x64) server. I used RamMap to find where the memory was going and I found that it is going to a Mapped File.
    I read an article, kb976618, about Dynamic Cache but it says that in order to get the tool for Server 2008 R2 SP1, you have to contact Microsoft Support and in order to do that, you have to give them a credit card or have a service contract.
    I tried the link in the article anyway and got a download email from Microsoft that looked like it was for my operating system. I installed it per the instructions but it still says that it cannot start the service because it is for a previous version.
    Can anyone help with this? I did notice that the download included a few different folders that all have the DynCach.exe file. Maybe I'm using the wrong one?

    Hi,
    Please click
    here to contact me for the dyncache file for 2008 r2. I will send you the file directly.
    Regards,
    Arthur Li
    TechNet Community Support

  • Server 2008 R2 Memory Usage

    We have 10 Server 2008 R2 servers all exhibiting the same behaviour.
    The servers run at almost 100% memory utilization.  Only one has had SP1 installed, which I did this morning and after about 1 hour, the memory is maxed out.  The server initially had 14GB memory, but after installing SP1 and seeing more of the
    same, I decided to try installing more RAM.  I put in another 8GB, and while it takes a little longer to bottom out, it still bottoms out.  Perfmon is showing less than 100MB of available memory, and, as expected, performance is not good.
    These servers are strictly file servers.  We work with images of hard drives.  They are split into 2GB chunks.  An easy way to replicate the issue is to load a hard drive image and do a re-acquisition.  We do this sometimes as a drive
    may be acquired in the field without compression, and we will re-acquire it with compression.  Once this process is started, in about 1 hour, I have about 100MB free memory. 
    Using RamMap,  Mapped File is using 21GB of memory.  When I look at the file summary, the server is caching the 2GB image files and not letting go of them in a timely manner.  I am the _only_ person accessing this server, it just gets worse
    when more are.
    As noted above, performance is terrible, is this supposed to be normal?
    Server is an IBM x3550 M2 with dual quad-core CPU, 22GB RAM, OS is on a RAID 1 mirror of two 76GB 15K SAS drives, and the server has two 14TB arrays attached. OS is Windows Server 2008 R2 SP1.  Only the File Server Role is installed.
    Thanks,
    Brian

    Hi,
    I would like to confirm that do you have Exchange Server installed on the servers?
    If you do have Exchange Server installed, this behavior is normal. Exchange store.exe grabs as much RAM on the server as it can possibly get because
    store.exe needs it to optimize performance. For more information, please refer to the following Microsoft TechNet blogs:
    Why is Exchange Store.exe so RAM hungry?
    http://blogs.technet.com/b/exchange/archive/2004/08/02/206012.aspx
    Understanding Exchange 2007 Memory Usage and its use of the Paging File
    http://blogs.technet.com/b/exchange/archive/2008/08/06/3406010.aspx
    If you do not have Exchange Server installed, please check Task Manager and let us know what application uses the large size of memory. In addition,
    you may run Process Explorer to monitor the memory usage. You may download and install it from the following link:
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    After that, please let us know the suspect.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • When trying to start my Windows server 2008 R2 Data Center, I am getting "ramdisk device creation failed due to insufficient memory",

    I have the following:-
    VMWare workstation version 9 , with windows server 2008 R2 data center installed.
    - I have installed the windows 2008 R2 inside the VM using an iso image.
    - The host is windows 7.
    I use to work well with the VM, but after adding a new VM to the same workstation . I start getting the following error when starting my old VM
    ramdisk device creation failed sue to insufficient memory.
    And on the windows boot manger screen they mentioned to :-
    inset my windows installation dis and restart my PC.
    click “repair your computer”
    but not sure if this will fix the problem , baring in mind that the RAM assigned to the VM
     is 24 GB & 80 GB hard disk.
    The error is 
    Link.
    so can any one advice what is causing this error?
    Thanks

    You might start by checking the RAM.
    http://windows.microsoft.com/en-US/windows7/Diagnosing-memory-problems-on-your-computer
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • What is the best way to deal with memory leak issue in sql server 2008 R2

    What is the best way to deal with memory leak issue in sql server 2008 R2.

    What is the best way to deal with memory leak issue in sql server 2008 R2.
    I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
    Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
    sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
    Any specific issue you are facing
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL Server 2008 Plan Cache maintenance

    Hi,
    I have a question, please help/suggest me.
    I have a production SQL Server 2008 where there are 4 significant stored procedures running in every 15 seconds(Borwser auto refresh) from different users(100+ users connect to site from diff locations)
    Sometimes there is no data coming from these stored procedures and application is timing out 
    So we are running follwoing queries to resolve the issue in productuion server
    DBCC DROPCLEANBUFFERS, DBCC FREEPROCCACHE
    Now we are planing to keep this as part of weekend maintenance activity, so please advise what are the parameters we have to check and what is best practices to clear cache?
    Thanks,
    Ali

    You can execute sp_recompile to recompile an stored procedure, instead of clear the whole plan cache. sp_recompile does not cause an stored procedure to be recompiled each time it executes. It recompiles just one time, when you execute
    sp_recompile. 
    If you want, you can write a SQL Server Agent Job that calls sp_recompile for each of these four stored procedures.
    Cleaning the buffer cache will not improve performance in any case, It maintains a cache of data, it has nothing to do with plan cache.
    You should investigate why these stored procedure get slow. May be, statistics are stale. You should update statistics and rebuild indexes. It also may invalidate execution plans
    EntityLite: A Lightweight, Database First, Micro ORM

  • Crystal Report Server 2008 - Out of Memory in Event Server

    Hi All,
            We run a Crystal report Server 2008 on a Windows 2003 Server Std Edition, with 4 GB of Memory and enough Harddisk space(C: More than 25 GB and D: around 155 GB).  The Server is running with MS SQL Server 2005 and CRS 2008 on MySQL and Tomcat.  Other than this there is a transactional application running using MS SQL Server 2005 which creates a new database everyday. 
           We have Scheduled reports which were working fine for an year, since last month we were getting the "Out of Memory in the event Server" error and the CRS stops to schedule reports, only after restarting the server and SIA it allows us to schedule the jobs in time.  But this happens every once in 2 days.  Am not sure what is causing this problem.  Currently there are no backup jobs running and no OS Scheduled jobs are running and also no error messages in the Application log other than the "Out of Memory in the Event Server".
           Could anyone help to sort out what may cause this?
    Thanks
    Senthil

    Hi
    I strongly believe that what you are seeing here is a bug. I would suggest to open a case by SAP support immediately (http://service.sap.com/support)
    Regards,
    Stratos

  • SVCHost NetSVCS On Windows Server 2008 Standard memory leak with windows update

    I have a particular situation that has surfaced lately.  I have a series of Windows Server 2008 Standard.  I have applications that use WMI to do application interfacing.  For years this has been running fine until recenly in the last month
    I have seen memory being swallowed by the process SVCHost Netsvcs.  I have done significant research into this.  The problem appears almost like clock work on a daily basis.  I have traced this to windows update which seems to kick off, it is
    also using WMI, it starts and seems to get lost then netsvcs starts running off until all memory is consumed and the svchost process eventually fails.  At that point I can get back into the system to view it. If I catch it in time I can simply stop windows
    update but sometimes I have to take the drastic and unsafe measure to kill that particular svchost process. 
    There are a lot of threads regarding SVCHost and nothing comes remotely close to this issue as far as I can see.
    I have allready ensured that windows update is up to date. 
    At present I am forced to ensure that windows update is disabled. I then have to manually shut down the other services that are using WMI to do an update.  This means down time for my applications realtime updates.

    Hi,
    does this issue occur on a single server or multiple servers? And is it server 2008 or 2008 R2?  (if 2008R2 there is a
    hotfix
    available which would seem a good fit for your current issue).
    If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :)

  • Max Memory Settings Not Working (SQL Server 2008 R2)

    I have 12 GB ram in sql server 2008 R2 of 64 bit server (Windows 2008 R2).
    I have set the Max memory setting to 12288 MB Memory setting.
    Still the usage of sql server process is around 14  GB.
    Is Max memory setting not working?
    I have also enabled AWE after all it is 64 bit.
    Thanks

    Problem is that: my OS is halting due to this RAM. I have 16 GB of ram and assigning 12 GB to SQL SERVER and rest is using for OS. Please guide me how to get information about actual memory usage from all sql server processes. like
    all CLR etc 
    Hi,
    Are you also running SSIS/SSAS/SSRS with database engine services. What do you mean by OS is halting ?
    If you want to check whether SQL Server is facing memory crunch please have a look at perfmon counters from
    this link
    Sys.dm_OS_memory_clerks would be DMV helpful in tracking memory utilized by various processes
    I have also enabled AWE after all it is 64 bit. Thanks
    Please note AWE doe snot have any notable affect in 64 bit system.
    Below will tell you memory used by SQLCLR
    select single_pages_kb + multi_pages_kb + virtual_memory_committed_kb from sys.dm_os_memory_clerks where type = 'MEMORYCLERK_SQLCLR'
    Below query will give you memory consumed by various clerk
    SELECT type, SUM(multi_pages_kb)
    FROM sys.dm_os_memory_clerks
    WHERE multi_pages_kb <> 0
    GROUP BY type
    ORDER BY SUM(multi_pages_kb) DESC
    Can you reduce max server memory to 11 G and see if it gives some relief
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Windows Server 2008 R2 - When svchost.exe memory-leaks Outlook does not load properly

    Hi all,
    We have a server which runs Windows Server 2008 R2, fully updated, and acts as a Terminal Server (Citrix XenApp 6.5).
    In the past couple months we have had problems with svchost.exe leaking memory, growing to 2-3GB of RAM usage. Sometimes is occurs with weeks between the incidents, sometimes days. To solve the issue we have to reboot the server.
    When this occurs, Outlook (fully updated) doesn't start for any users at all. Outlook doesn't continue from the "Loading profile.."-stage. The users who already has Outlook started doesn't have any problems, unless they close Outlook ;) . 
    The svchost.exe is the one which runs the services:
    NSI
    WinHttpAutoProxySvc
    W32Time
    Netprofm
    FontCache
    EventSystem
    We've patched the server with KB2847346 but with no result. Patch KB2950358 is not applicable..
    Any ideas?

    svchost is hosting multiple services. when the issue occurs you can use sysinternals procmon (or enable the command line column in task manager process tab) to view to determine which service is using that much memory.
    MCP/MCSA/MCTS/MCITP
    Did you read my whole post, or did you just misunderstand the part were I wrote:
    The svchost.exe is the one which runs the services:
    NSI
    WinHttpAutoProxySvc
    W32Time
    Netprofm
    FontCache
    EventSystem"
    I know that svchost.exe runs ALOT of services, so when the problem occurred I checked which services the specific svchost.exe runs. Everytime it happens the svchost.exe (which leaks and has 2-3GB mem usage) runs this specific services.

Maybe you are looking for