Jump to content

Recommended Posts

Posted

ArtBio thanks for the reply but I really don't think thats the problem since WMI is fully functional... here's some further info:

I have been using Rogues script for numerous installs but now on a machine with 4Gig of Ram it too fails unless I change the "2" value to a max of 1.33

If I change your "2" value to 1.2 the script runs and changes the pagefile size.

Since I don't write VBS all my attempts to correct this have failed but I'm wondering if regonizing a max page file value of 4 gig would be the answer... buy I'm guessing

  • 1 year later...

Posted

There is a limitation in VBS that does not allow setting a pagefile over the 4GB mark. I am not sure of the reasoning behind this, but you are right that detecting a value over to 4096 and reducing down is the answer. If you require a pagefile of bigger than 4gb then you'll most likely need to manually set the settings in windows.

;)

Posted

I'm not sure there would ever be a need for a paging file that large, unless you have more than 4GB of RAM and are worried about having the paging file size available for crash dump recovery.

  • 11 months later...
  • 5 months later...
Posted

wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=2048,MaximumSize=2048

This can be run from command line (RunOnceEx).

  • 11 years later...
Posted
On 11/22/2005 at 9:16 AM, Crash&Burn said:

What I have stored in my registry at:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Which is for D:\Pagefile.sys 1536 2048

So using this within a .cmd or such during unattended would preset the pagefile to where you want? Instead of having windows preselect the drive with the amount of space it believes it requires?

My current settings.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001
"PagingFiles"=hex(7):43,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\
  00,65,00,2e,00,73,00,79,00,73,00,20,00,30,00,20,00,30,00,00,00,00,00
"PhysicalAddressExtension"=dword:00000001
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000000
"ExistingPageFiles"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,70,00,61,\
  00,67,00,65,00,66,00,69,00,6c,00,65,00,2e,00,73,00,79,00,73,00,00,00,00,00
"SessionPoolSize"=dword:00000000
"SessionViewSize"=dword:00000000
"PoolUsageMaximum"=dword:00000000
"SecondLevelDataCache"=dword:00000000
"NonPagedPoolQuota"=dword:00000000
"NonPagedPoolSize"=dword:00000000
"PagedPoolQuota"=dword:00000000
"PagedPoolSize"=dword:00000000
"WriteWatch"=dword:00000001
"SystemPages"=dword:00000000
"SessionImageSize"=dword:00000000
"IoPageLockLimit"=dword:08000000

I honestly don't' know what to do?

Posted
3 hours ago, XPerceniol said:

  

Thank you, jaclaz, I shall leave it be there with the kind of luck I've been having lately.

I'd set as a fixed size, so it won't become fragmented, if you have 2Gb, leave at 4GB max. Minimum for you is 2048MB. Despite what some may say (no page file good/fast, etc), chrome likes pagefile.

And yeah, I usually ride without it. But on my RAM sufficient machines.

Posted
17 hours ago, D.Draker said:

I'd set as a fixed size, so it won't become fragmented, if you have 2Gb, leave at 4GB max. Minimum for you is 2048MB. Despite what some may say (no page file good/fast, etc), chrome likes pagefile.

And yeah, I usually ride without it. But on my RAM sufficient machines.

Thank you, you've always been kind and helpful to me.

Posted

My recipe is taking a look at page file peek usage after having ran one or multiple programs that consume a lot of memory, just think about what your most memory intensive workload looks like, then taking that value and rounding it up to the next gigabyte or half-gigabyte to get the appropriate fixed size to set.

Process Hacker may be used to read the value (Tools->Pagefiles). Also a method for those that like to have fun with PowerShell.

Posted
15 hours ago, UCyborg said:

My recipe is taking a look at page file peek usage after having ran one or multiple programs that consume a lot of memory, just think about what your most memory intensive workload looks like, then taking that value and rounding it up to the next gigabyte or half-gigabyte to get the appropriate fixed size to set.

Process Hacker may be used to read the value (Tools->Pagefiles). Also a method for those that like to have fun with PowerShell.

Thank you

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...