![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Vista Ultimate x84 | command for Virtual Memory Settings in vista hi, what is the command through which i can set the virtual memory in vista.... regards, sudhir |
My System Specs![]() |
| | #2 (permalink) |
| Win7x64 | Re: command for Virtual Memory Settings in vista Can you explain what it is you're trying to do? Virtual memory is not "settable" per se. The maximum virtual size of a process is always a fixed number, although obviously it's far larger on 64-bit Windows. I expect you're probably trying to change the pagefile size, and that's accomplished through the "System" applet in the control panel (you can just run sysdm.cpl to get there). Equating the pagefile(s) with virtual memory is technically not correct though - they're not the same thing. |
My System Specs![]() |
| | #3 (permalink) |
| Vista Ultimate x84 | Re: command for Virtual Memory Settings in vista I want to set the custom virtual memory size in performance to a particular size... i want to accomplish this through command line.. |
My System Specs![]() |
| | #4 (permalink) |
| Win7x64 | Re: command for Virtual Memory Settings in vista You could use WMIC: wmic:root\cli>pagefileset /? PAGEFILESET - Page file settings management. HINT: BNF for Alias usage. (<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>]. USAGE: PAGEFILESET ASSOC [<format specifier>] PAGEFILESET CREATE <assign list> PAGEFILESET DELETE PAGEFILESET GET [<property list>] [<get switches>] PAGEFILESET LIST [<list format>] [<list switches>] PAGEFILESET SET [<assign list>] Or you could script something to manipulate Win32_PageFileSetting directly under the \root\cimv2 namespace... objPageFile.InitialSize = ABC; objPageFile.MaximumSize = XYZ... I'd also suggest searching for "pagefile settings", not "virtual memory". A pagefile is not directly analogous to virtual memory, so you're searching - if you're searching - for the wrong term. |
My System Specs![]() |
| | #5 (permalink) |
| Vista Home Premium 64bit SP2 | Re: command for Virtual Memory Settings in vista |
My System Specs![]() |
| | #6 (permalink) |
| Vista Ultimate x84 | Re: command for Virtual Memory Settings in vista ok but how will u set it to system managed |
My System Specs![]() |
| | #7 (permalink) |
| Win7x64 | Re: command for Virtual Memory Settings in vista I think if you set both objPageFile.InitialSize and objPageFile.MaximumSize to 0, the pagefile will revert to system managed. Testing that should be simple |
My System Specs![]() |
| | #8 (permalink) |
| Vista Ultimate x84 | Re: command for Virtual Memory Settings in vista thanks H2SO4... yes if we set InitialSize and MaximumSize to 0 the pagefile will revert to system managed.below is the command for setting to system managed if anyone wants to use WMIC PAGEFILESET Set initialsize=0,maximumsize=0 below is the command for setting to custom if anyone wants to use WMIC PAGEFILESET Set initialsize=<Minsize>,maximumsize=<Maxsize> Minsize should be less than Maxsize regards sudhir |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do I increase my virtual memory settings | General Discussion | |||
| Virtual Memory Advice for Vista 64 & 8GB of Ram | Vista performance & maintenance | |||
| Cannot set virtual memory Vista Home Premium | Vista performance & maintenance | |||
| Virtual Memory Control and Settings in Windows Vista | Vista performance & maintenance | |||
| Open Scrreensaver Settings From the Command Line? | Vista General | |||