why is my computer using swap?

Koharski

Senior member
Jan 27, 2006
622
1
76
I have a notebook computer with 24gb of ram. The only applications I am using are spotify, qbittorrent, rainmeter and a couple chrome tabs. Rainmeter is telling me that I am using 9% of my swap file and I can't figure out why. I only have 4gb of ram in use so there is plenty left over.
 
Feb 25, 2011
16,822
1,493
126
Because it's always using a little bit? Some programs purposefully use swap for data they need to be in "ram" but don't need fast access to. (I'd bet the torrent client is doing this.)

The OS may also be intentionally swapping unused or infrequently used pages preemptively, since it doesn't know when you will suddenly open up After Effects and need 20GB of RAM in a hurry.

You can disable you swap file, but that can be dangerous.

Anyway, check your Resource Monitor's RAM tab and look for hard faults. If it's zero or close to zero, then you're not really hitting your disk for anything and it's just Windows being fat and stupid. If you have the disk space, don't sweat it.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,450
10,119
126
In the general case, using a pagefile (not a swapfile), is a performance IMPROVEMENT, overall.
 

hhhd1

Senior member
Apr 8, 2012
667
3
71
in linux, you can change the 'swappiness' to modify how aggressive the system use the swap

you can set it to only use swap when the ram is completely full.
 
Last edited:

Techhog

Platinum Member
Sep 11, 2013
2,834
2
26
Windows will always use the swap file for certain things if you have it enabled. Even if you had 128GB of RAM the swapfile would not go unused if it exists.
 

zir_blazer

Golden Member
Jun 6, 2013
1,184
459
136
Windows will always use the swap file for certain things if you have it enabled. Even if you had 128GB of RAM the swapfile would not go unused if it exists.
Reason why I consider Windows totally retarded and prefer to disable the Pagefile. Regardless of how noticeable it is, having Windows using the Pagefile when it has no need to, means high-latency read and writes to HD/SSD that are injustificable.
 

Deders

Platinum Member
Oct 14, 2012
2,401
1
91
Reason why I consider Windows totally retarded and prefer to disable the Pagefile. Regardless of how noticeable it is, having Windows using the Pagefile when it has no need to, means high-latency read and writes to HD/SSD that are injustificable.

The problem there is if you have page faults, and instead of finding the data it needs handily in a page file on an SSD, it has to go to a HDD for that data, you will incur much more latency.

You will get hard page faults whether you enable or disable the page file.
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
It's Windows. If you have the page file turned on, it will be used. if you don't need it, it wills till pre-emptively load data into it, in case it does need to use it. It does not treat the page file as a last-ditch emergency tool, but a way to help keep more RAM free all of the time, on systems regularly using a moderate amount of their memory.
 

sm625

Diamond Member
May 6, 2011
8,172
137
106
Do you really expect a company with a $400 billion market cap to be smart enough to write software that actually looks at your % of free RAM before deciding to waste time swapping data to the pagefile?
 

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
Do you really expect a company with a $400 billion market cap to be smart enough to write software that actually looks at your % of free RAM before deciding to waste time swapping data to the pagefile?
No. I expect them to get into the phone market, make a half-assed tabletized version of their desktop OS, screw up programs they have a market lock with, like Outlook, and mine everyone's data. Who cares about making PCs perform sensibly? ()
 
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/    |