The problem of high memory usage of windowsServer 2008

 

 

Solve Windwos Server 2008 cache consumes a lot of physical memory documents transferred from Baidu, I do not know whether it is useful

Listen to speech
  • Original
  • |
  • Browse: 13009
  • |
  • Update: 2014-10-09 11:30
  • |
  • Label: Memory 
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 1
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 2
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 3
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 4
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 5
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 6
  • Solve the Windwos Server 2008 cache consumes a lot of physical memory 7
Step by step reading

The physical memory usage in Windwos Server 2008 is extremely high or even down, but the memory consumption of each process in the task manager is not much. This problem may be caused by Server 2008 does not limit the system cache to ensure server performance, the server system performs I / O for a long time, and the system file cache continues to occupy physical RAM. Now it is solved by limiting the system cache size.

Tools / raw materials

 
  • Windows Server 2008 operating system
  • Microsoft Windows Dynamic Cache Service

Method / Step

 
  1. 1

    First, log in to the computer as an administrator and download a  tool called  Microsoft Windows Dynamic Cache Service from the Microsoft website (this is Microsoft's tool is not an advertisement) , as shown in the Baidu search, you can find it, enter the Microsoft website and click the red on the page Download button, after a while, a download and save dialog box will pop up automatically

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  2. 2

    Now the default file name for downloading Microsoft Windows Dynamic Cache Service is DynCache.zip (here takes this file name as an example), unzip this file to the DynCache folder (the author takes this file name as an example below), and get these files as shown in the figure, if Your English is good, you can read ReadMe.docx for detailed usage, if it is not good, please continue to read below

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  3. 3

    Open the Retail folder to get the folder shown in the figure. The folder here is based on your operating system and CPU needs to choose different versions. Here is a brief explanation:

    1) I386, our most common X86 architecture computer and operating system (32-bit), here we right-click-computer-select "Properties", you can see whether the system type is 32-bit or 64-bit, if it is 32-bit uses the files under the I386 folder.

    2) AMD64 is our most commonly used 64-bit architecture computer and operating system. Home 64-bit computers are basically of this architecture, and our most commonly used Alibaba Cloud server E-series Xeon CPU is also AMD64 .

    3) IA64 is Intel's high-end 64-bit CPU. This kind of CPU is not compatible with the original X86 program. This kind of architecture is not common every day, so I wo n’t go into details here. I-tanium (Itanium) series CPU This architecture is adopted.

     

     

    The author uses the AMD64 folder here (take this as an example below)

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  4. 4

    1) Open the AMD64 folder, find DynCache.exe, and copy this file.

    2) Open "Computer", enter% SystemRoot% \ System32 in the address (the fact is X: \ Windows \ System32, X represents the system disk, here is the C drive), paste the DynCache.exe just here.

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  5. 5

    Then we run the "Command Prompt" as an administrator, copy the following commands in bold italics to the "Command Prompt", right-click to paste (manually pay attention to spaces and quotation marks), and then press the Enter key.

    sc create DynCache binpath= %SystemRoot%\System32\DynCache.exe start= auto type= own DisplayName= "Dynamic Cache Service"  

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  6. 6

    Then we return to the DynCache folder, where we find a registry file named DynCache.reg, double-click to import.

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
    Solve the Windwos Server 2008 cache consumes a lot of physical memory
  7. 7

    1) Finally, we open the "Registry" editor (start-run-enter-regedit-OK), and expand HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ DynCache \ Parameters 

    2) Find MaxSystemCacheMBytes on the right, double-click it, here we select "decimal", enter the number to limit the maximum number of caches (in MB), for example, the author enters 800 to limit the maximum cache to 800MB, enter 0 to not limit .

    3) If you want to uninstall the tool, enter sc stop DynCache —— Enter —— sc delete DynCache —— Enter in the “Command Prompt”

    3) Finally, just restart the computer. The tool has some other settings, which are beyond the scope of this article. If you are interested, read ReadMe.docx.

    Solve the Windwos Server 2008 cache consumes a lot of physical memory
    Solve the Windwos Server 2008 cache consumes a lot of physical memory
    END

Precautions

 
  • Note whether the computer is 32-bit (x86) or 64-bit (x64)
  • Pay attention to spaces and quotation marks in the command prompt, use half-width input
  • Administrator rights required

Guess you like

Origin www.cnblogs.com/bellwether/p/12703293.html