Should I use a swap file?

Traxan

Senior member
Jun 5, 2005
374
8
81
Here's my setup:

Core i7-2600
16GB of 1333 memory
240GB SSD C: drive

By default, Windows sets up a swap that is 2x the physical memory. That's 32GB being sucked up on my SSD drive and I can't remember seeing the memory go below 8GB on Rainmeter meters. So should I just turn off the swap file?
 

Anteaus

Platinum Member
Oct 28, 2010
2,448
4
81
You shouldn't need one with that much ram, however I recommend you maintain one for compatibility reasons. Some software require that a swap file exist, even if it never actually needs it. That being said, you can just set it fixed at 2GB and just forget about it. Better yet, if you have a second harddrive, just stick it on there.
 

brandonb

Diamond Member
Oct 17, 2006
3,731
2
0
People say yes, but over the last 2 years I've had mine off and have never encountered a problem.

I'd say set it for a fixed (and small) size, or turn it off completely.
 

Phynaz

Lifer
Mar 13, 2006
10,140
819
126
People that turn off their swap file think they know more about Windows memory management than Microsoft.

Think about it.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
For over 20 years I have used a fixed page file, and never have had a problem. In Win 7 I fix it at 2 GB.
 

elkinm

Platinum Member
Jun 9, 2001
2,146
0
71
You should try it.

I love running without a pagefile if I have enough ram. As a result my system never slows down as long as ram is available. The huge difference is when I start an application and don't use it for a while and then come back to it. With a pagefile that application would take a while to come up as it loaded from disk, but with no pagefile everything is always fast.

Now since everything is in ram, everything including virtual memory and cache is in the ram and it is amazing how quickly it can go through ram, even 16 GB.

If you ram is sufficient the only downside with not having a pagefile is that you cannot do a dump of any kind in the event of a BSOD. Hopefully it will never happen, but if it does that info can be very useful.

Personally I mostly use a fixed page file (1-2GB) and I noticed that regardless of the configured size or drive, the system period slows down as some unused apps are always cached.
Running no page file is the best option, if you run into issues I would recommend a small 1-2 GB page file and slowly increase if it is not enough but that is not likely.

Also, make sure you disable as much paging, pre-fetching or caching as it would only eat ram and wear on your SSD.
 

LokutusofBorg

Golden Member
Mar 20, 2001
1,065
0
76
Setting it to a fixed small size negates half of the reason for leaving it on. Either turn it off completely or allow it room to do what it needs to do. On my SSD systems I set it to a min size of 1024MB and a max size of the RAM. It rarely grows beyond that 1GB, but when it needs to it can. The next time I reboot, it's back down at 1GB.

Also, ignore the SSD "optimization" stuff mentioned above. It's hogwash and it's continually debunked on the forums here. It's like swatting mosquitoes. You don't need to disable anything to try to protect your SSD, or even maximize its performance. And anybody that suggests you can wear out your SSD has no idea what they're talking about at this point.
 

cheez

Golden Member
Nov 19, 2010
1,722
69
91
I use to run with no page file on Windows 98 back in the days. It was fun. Ran real fast for a little while and eventually crapped out and gave me memory resource error lol. I was running 128 MB of RAM.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
There is absolutely no reason not to have one. All running without one does is remove a safety net and potentially hurt performance.
 

Blintok

Senior member
Jan 30, 2007
433
0
0
Good that this was asked. had same question and similar system.
Few weeks ago put together new system that contains the i7-2600k with
16g ram but with a 120g SSD for os drive (windows 7 - 64bit) and 1T programs/data spinner.

I moved the swap file to the spinner but was wondering if i even need it. Does windows even use all of the 16g before using swap file or does it just default to swap no matter how much ram you have?
I ask because i notice on my other computer (i5-750, 8g ram, win7-64, 120g ssd os, 2x spinners (640g + 1T) swap on spinner. I always seem to have 6g free ram.

I could try turning it off on the 16g machine to see what happens, but i guess its not hurting anything being on the spinner. I did have to turn off the power saving features in windows. Even tho i turn all that off i still had to drill down deep in the settings as windows was still turning off the drives.
 

LokutusofBorg

Golden Member
Mar 20, 2001
1,065
0
76
You should move the page file back to your SSD, set it to min size of 1024MB and max size of 16384MB, reboot and forget about it.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |