virtualalloc

About this tag
The virtualalloc tag on WindowsForum.com covers discussions about the Windows VirtualAlloc and VirtualFree memory management functions. Topics include the use of flags like PAGE_NOCACHE, MEM_COMMIT, and MEM_RELEASE, as well as performance implications such as high CPU load during deallocation. Users share code examples and troubleshoot issues related to memory allocation, working set size, and caching behavior across different Windows versions. The tag is relevant for developers and system programmers working with low-level memory operations in Windows environments.
  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