Windows - Commit Size vs Virtual Size

前端 未结 3 2058
猫巷女王i
猫巷女王i 2020-12-13 02:12

i would like to know the exact difference between Commit Size (visible in the Task Manager) and Virtual Size (visible in SysIntern

3条回答
  •  旧时难觅i
    2020-12-13 02:57

    Commit size is the amount of space reserved in the paging file for the process. Used when its pages need to be swapped out to make room in RAM for other processes.

    And yes, the virtual memory size will be larger since it includes the pages that are not backed by the paging file. At least the code and resource sections in the EXE and non-relocated DLLs. When necessary, those pages can simply be discarded and reloaded from the file. All the operating system DLLs fit this category. Additionally any memory-mapped files used by the process. SysInternals' VMMap utility can give insight.

提交回复
热议问题