working set

About this tag
The working set tag on WindowsForum.com covers discussions about the Windows memory management concept of a process's working set, which is the set of memory pages currently resident in physical RAM. Topics include using the SetProcessWorkingSetSize API to adjust the minimum and maximum working set size for a process, and interactions with memory allocation functions like VirtualAlloc and VirtualFree. Specific issues such as high CPU load during VirtualFree when using the PAGE_NOCACHE flag are examined, with comparisons across Windows versions like XP. The tag is relevant for developers and advanced users working with Windows memory management, performance tuning, and troubleshooting memory-related behavior in applications.
  1. E

    Windows 7 What's wrong with PAGE_NOCACHE in VirtualAlloc/VirtualFree

    Hi, I have this code: // AllocTest.cpp : Defines the entry point for the console application. // #include <windows.h> #include <stdio.h> int main(int argc, char * argv[]) { if ( ! SetProcessWorkingSetSize( GetCurrentProcess(), 1024 * 1024 * 1024 * 1.2, 1024 * 1024 * 1024 * 1.2 ) ) {...
Back
Top