Powershell: Get-Process Returns "Invalid" VM Size

Posted by dewald on Stack Overflow See other posts from Stack Overflow or by dewald
Published on 2010-05-10T00:19:13Z Indexed on 2010/05/10 0:28 UTC
Read the original article Hit count: 658

Filed under:
|

I'm running PowerShell 2.0 on Windows XP SP3 and I execute:

PS> ps firefox

And it returns:

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName
-------  ------    -----      ----- -----   ------     -- -----------
    859      44   340972     351580   684 9,088.22   7744 firefox

However, Windows Task Manager shows the following stats for firefox.exe:

Mem Usage: 354,720 K
VM Size:   347,322 K

Why is the VM output from PowerShell 300 MB more than that output from Windows Task Manager?

© Stack Overflow or respective owner

Related posts about powershell

Related posts about powershell-v2.0