virtualfree

About this tag
The virtualfree tag on WindowsForum.com covers discussions about the VirtualFree function in the Windows API, often in the context of memory management with VirtualAlloc. Topics include issues with the PAGE_NOCACHE flag causing high CPU usage during deallocation, differences in behavior between Windows versions like XP and later, and troubleshooting memory allocation and release in C++ applications. The tag is relevant for developers working with low-level Windows memory operations, particularly when using large allocations or non-cached memory.
  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