mike1305 Posted August 16, 2006 Share Posted August 16, 2006 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? Amp Energy Drink: the official sponsor of me scripting at 2AM. Link to comment Share on other sites More sharing options...
lod3n Posted August 16, 2006 Share Posted August 16, 2006 Ermm, not exactly the same, no - but close! Read the first paragraph of the Wikipedia article, they do a good job on it.http://en.wikipedia.org/wiki/Virtual_memory [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now