Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Pagefile size on new SSD

22 Dec 2018   #1
RedLad

Microsoft Windows 7 Professional 64-bit
 
 
Pagefile size on new SSD

Hi,

I have recently done a clean install and have all my drivers and updates done now. I notice that the pagefile is set to the automatic option and is taking up around 32GB.

Should I used the custom option to add in values? My system has 32GB of ram. Would anyone have any recommendations?

Thanks,
Paul


My System SpecsSystem Spec
.
22 Dec 2018   #2
Ranger4

Windows 7 Home Premium 64 bit sp1
 
 

There has been some debate on pagefile size when using SSDs, some suggesting none & others suggesting letting Windows set it automatically. I have 16 GB of RAM & I have the pagefile set at 1 GB.

Do you have a frequent requirement for the use of 32 GB of RAM, with very high RAM usage programs. If so the let Windows set it. If not then just try none or a very small sized one.

The main reason for setting it to zero was that frequent writes to the SSD from the RAM shortened their life, but that has been discounted now as the life of SSDs is now equal to or longer than a HHD.
My System SpecsSystem Spec
22 Dec 2018   #3
LMiller7

Windows 7 Pro 64 bit
 
 

In Windows the pagefile has 3 primary purposes.


1. It increases the commit limit. Commit charge and commit limit is somewhat difficult to explain so will not do so here. Much incorrect information has been published. But all you really need to know is that the commit charge (as shown in Task Manager) cannot exceed the commit limit. If an attempted memory allocation would exceed the limit bad things will happen. This could mean application failure, data loss, and system crashes. Best avoided.


The commit is RAM size plus pagefile size minus a small overhead. With a system managed pagefile it could be as large as 3 times RAM size. Typically with 32 GB RAM that would be more than plenty. But with a sufficiently large workload it may be needed.


2. It optimizes the use of existing RAM. It does this by providing a place to offload from RAM rarely used data. This leaves more RAM for more important purposes, such as larger application working sets and caching. The pagefile usually improves performance.


3. The pagefile is used in the generation of memory dumps. For a full memory dump a pagefile slightly larger than RAM size is needed. But a full memory dump is rarely needed and this is not the default configuration.


The needed size of the pagefile is determined by the workload. The important number is the peak commit charge. Unfortunately Task Manager doesn't show this but other utilities like Process Explorer do. This is a free download from Microsoft. You would need to monitor this over a period of time when the workload is at it's highest. Be sure to include a generous margin for safety, just in case. Contrary to frequent recommendations the memory usage graph is virtually useless for this determination. If the peak commit charge is less than RAM size you technically wouldn't need a pagefile at all. But for the other reasons mentioned it would still be of benefit.


Also understand the size of the pagefile has nothing to do with the drive being an SSD.
My System SpecsSystem Spec
.

24 Dec 2018   #4
Megahertz07

Windows 7 HP 64
 
 

I agree with Ranger that pagefile isn't important IF you have a lot of memory and you never use it all. Then, as you have 32G of memory and if you only use no more than 16G, you can set a small pagefile or even none.
But if you going to use almost all or all memory for programs, I agree with Miller. You should have the pagefile set to (at least) twice the size of your memory (64G).
It isn't good to have any file that is written or rewritten every time you use the computer as a SSD has a limited write cluster life.

I have a small SSD (128G) for Windows and programs on one partition (85G), Linux on another (43G) and a HDD for Data and it works great.
This is what I have done:

- I have used Kari tutorial to move C:/Users to D:\Users. All trash, like user temporary files are now on the HDD.
- I have relocated the dump files folder to the HDD.
- I have relocated the Windows Temp folder to the HDD.
- Antivirus (that has data file updated daily) and Firefox are installed on the HDD.
- Pagefile is set to none at the SSD and set to twice the memory size on the HDD.
- I don't use hibernate, so it's disabled (powercfg -h off)
- System Restore is set to off. I have a disk image as a backup and I backup my data on a HDD every week.

My System SpecsSystem Spec
25 Dec 2018   #5
Pete4

win7hp64
 
 

I have 16GB RAM, page file size is on automatic and I've never seen page file bigger than 3.5Gb. So 1 of 3 things happen there:
1. OP uses programs that really need a lot of RAM
2. OP didn't set his memory dump file to small, so in case of crash dump file could be many gigs, so large page file

3. Something else is not set up right.
Personally I set dump file to zero, since it's useless waste of space and time, unless computer crashes a lot and my computer never crashed, except few times that I caused it (like setting undervolt too low) but I don't know what OP case is.
My System SpecsSystem Spec
Reply

 Pagefile size on new SSD




Thread Tools




Similar help and support threads
Thread Forum
How do I customize Win7 pagefile to work like WinXP pagefile?
Hi, Sorry if someone had asked this before, but I'm looking for a very specific answer. There are many threads of people asking about Win7 pagefile, but none talked about exactly what I'm trying to do. In WinXP, I like to set my pagefile to the minimum size and then let it grow when needed....
Performance & Maintenance
Question about Changing Virtual Memory/PageFile Size in Windows 7
Please help me understand this, I have a videoediting software that I am runing on 32 bit win7 with 4 Gb RAM, the company that makes the software suggests to set the Virtual Memory/PageFile Size to double the RAM amount. I looked and mine is set to auto, I have many drives and all say none...
Performance & Maintenance
Pagefile refuses to maintain adequate size
Sup ppl? I got this problem with my page file. Weather it's managed by the system or given a custom size, it refuses to stay at a decent size. Every time I login, it's at about 200MB. I have 1GB RAM, and I set the page file to 1500 MB, but it keeps going back to a small size, and as a result, I...
Performance & Maintenance
Can't change pagefile size
When I try to change the pagefile on Drive C to 400 megs and reboot, it remains at over 6 gigs even though the Virtual settings show it at 400 megs. See Attachments. Using Win7 Ultimate x64 on Core i7 with 6 mb ram. Does anyone have any suggestions? Many thanks,
Performance & Maintenance
Pagefile partition size?
I was wondering what's a good size for a W7 pagefile partition? I have Windows 7 installed on my primary drive (OS) and decided to make a 7GB pagefile partition on my secondary drive as I heard it is better to have the pagefile on a different hard drive. I have 6GB of memory installed if it...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:17.
Twitter Facebook