Windows Server Metafile settings consume memory limits

Source: Internet
Author: User

Recently encountered Windows Server 2008 server memory soaring, 48G of memory used 99%, to view the task manager of the process, and did not find out which process uses the larger memory?

So, on the Internet to find a tool to view memory Rammap, specific content, you can go to the Internet to take a closer look at this article: "Two gadgets to solve Windows memory problems Rammap and Vmmap"

This software can be downloaded to you online.

Using the Rammap tool, it was found that the memory was occupied by metafile, and colleagues were prompted to use this tool to limit the use of metafile memory.

Windows Server Metafile settings consume memory limit

Article Specific content:

Metafile can be understood as system cache, Windows Server 2008 system, such as the existence of a large number of file copies, such as disk IO operations, the system will automatically cache it into memory, this part of the occupied memory in the Task manager is not reflected in the So the user will think the system's memory consumption is abnormal. At the same time, MetaFile is not limited by default, so the system consumes memory indefinitely.

currently Microsoft has an update for the launch of a Microsoft Windows Dynamic cache, users can download and add to the service, by modifying the registry to limit the maximum value of dynamic cache, such as setting a limit of 200M, etc. This allows the system to set the upper value of the memory used as the cache.

: http://www.microsoft.com/en-us/download/details.aspx?id=9258

The setup steps are as follows:

1. After decompression, according to the different system version of the corresponding DynCache.exe file copied to the C:\windows\system32.

2. Open a command prompt as an administrator and execute the following command to add the service:

SC Create dyncache binpath=%systemroot%\system32\dyncache.exe start= auto type= own displayname= "Dynamic Cache Service"

3. Go back to the Dyncache folder and locate the Dyncache.reg registry file import.

4. Open the registry and locate the Hkey_local_machine\system\currentcontrolset\services\dyncache\parameters

5. Find Maxsystemcachembytes on the right, double-click it, here we select "Decimal", in the numeric value to limit the maximum number of cache (in megabytes), input 800 is the limit cache maximum of 800MB, input 0 is unlimited.

6. Start the Dyncache service in the service.

Note: The downloaded Dyncache extract is available in a few more versions, select the retail AMD64 version, and do not select IA64 (IA64 represents the 64-bit processor version of Itanium).

Windows Server Metafile settings consume memory limits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.