Systémové programování Windows Paměť - 2 Obsah  Memory Management  Task Manager  Aktuální stav paměti  Stav virtuální paměti Memory Management Task Manager  Taskmgr.exe Aktuální stav fyzicke paměti  PrivateWorking Set (procexp: „PM – WS private“)  Subset of working set that specifically describes the amount of memory a process is using that cannot be shared by other processes.  Working Set (procexp: „PM – Working set“)  Amount of memory in the private working set plus the amount of memory the process is using that can be shared by other processes. Stav virtuální paměti  Commit Size (procexp: „VM – private bytes“)  Amount of virtual memory that is reserved for use by a process. Process Explorer Soubory namapované do paměti HANDLE hFile = CreateFile(...); HANDLE hFileMapping = CreateFileMapping(hFile, ...); CloseHandle(hFile); PVOID fileView = MapViewOfFile(hFileMapping, ...); // use the memory-mapped file UnmapViewOfFile(fileView); CloseHandle(hFileMapping); Díky za pozornost