MEMORY MANAGEMENT (GENERAL: WINDOWS VISTA AND LATER)
Description: Memory management is the term used to describe how Windows handles the manipulation and allocation of both virtual and physical memory resources.
Physical memory is considered the total of physical RAM and the pagefile or pagefiles configured on the system. A pagefile is a file on a system hard disk that is configured and treated as though it were physical RAM. The pagefile acts like RAM, and applications see it as RAM, but it will typically be slower than physical RAM due to disk throughput and latency.
Virtual memory is the term used to describe the amount of memory space that Windows can use for applications or system use. A 32-bit operating system can address up to 32-bits of memory, which works out to 4 gigabytes of virtual memory (4,294,967,296 bytes). This memory space is by default divided into a 2 gigabyte piece for the kernel and a 2 gigabyte piece for each individual process running on the machine. Use of the IncreaseUserVa setting within Bcdedit may change this amount. The primary difference between Windows Vista or Windows Server 2008 and previous Windows versions is that many of the primary kernel resources are now dynamic instead of static. This allows much more headroom for load and makes most memory issues much less likely.
The amount of virtual memory that is actually being used will typically be much smaller than the amount that is technically available; this is why virtual memory can be larger than physical memory. The concept of virtual memory is unrelated to the amount of physical memory installed; however the amount of physical memory can have an effect on certain memory structures. More information on virtual memory concepts can be found in our post on Windows Server 2008 Kernel Addressing , our first post on Troubleshooting Memory Issues and our second post on Troubleshooting Memory Issues . A 64-bit operating system has a much higher limit on virtual memory structures, with more information available here .
Scoping the Issue: The questions to ask when suspecting a problem with memory management may include:
Both 2019 and 2020 event log errors with a source of SRV are relatively common, and indicate a depletion of non-paged or paged pool memory respectively.
Data Gathering: In all instances, collecting either MPS Reports with the General, Internet and Networking, Business Networks and Server Components diagnostics, or a Performance-oriented MSDT manifest must be done. Additional data required may include the following:
If the average time to issue is: | The capture interval should be: |
Weekly | 14 minutes |
Daily | 120 seconds |
Hourly | 5 seconds |
If the average time to issue is: | The capture interval should be: |
Weekly | 1 hours |
Daily | 15 minutes |
Hourly | 60 seconds |
Troubleshooting / Resolution: After you have gathered this data, review the following:
Additional Resources:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.