Jump to content
Sign in to follow this  

Virtual memory questions

Recommended Posts


Here's my script (from the helpfile).

$mem = MemGetStats()

$pagefile = $mem[3] / 1024 / 1024
$virtual =  $mem[5] / 1024 / 1024
MsgBox(0, "Total physical RAM (KB):", $mem[1])
MsgBox(0, "Total PageFile:", $pagefile & " GB")
MsgBox(0, "Total Virtual", $virtual & " GB")

I have a question: AI told me that my pagefile is 5GB and my virtual memory is 2GB. When I set it up in the Windows properties, I set it to 4096MB-4096MB.

From everything I know or have read online, the virtual memory IS pagefile.sys in the root directory. so shouldnt the pagefile and the virual memory be exactly the same? :P

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.