r/OptimizedGaming • • 3d ago

Topic / Question | Discussion Question about Virtual Paging File.

So my question is that many guides for low spec PCs say to use the Virtual Paging file if you don't have enough RAM. From what I understand using this can increase disk writes and lower your hard drive health over time. I have more than enough ram(32GB) and want to to the opposite by using the bare minimum. I've read that allocating 0MB can be bad in a number of ways namely if you do at some point hit a RAM limit and there's none allocated, so I was wondering what value is optimal in this situation without having system instability issues. Additionally so I know in the future, as long as I have enough RAM should I be skipping this step in any optimization guides I come across?

Edit: Adding that I run on an nvme ssd.

5 Upvotes

16 comments sorted by

•

u/AutoModerator 3d ago

New here? Check out our Information & FAQ post for answers to common questions about the subreddit.

Want more ways to engage? We're also on Discord

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

11

u/Rudi-Brudi 3d ago

just let windows manage it even on SSD. You could cause more harm by disabling it. Apps crashing, broken crash dumps + no performance boost.

2

u/Brunticus 3d ago

I reverted it. I just needed some guidance from people know better since guides are so sketchy.

2

u/avidvaulter 3d ago

Page file reads heavily outnumber writes so you're not significantly saving drive health by turning this setting off.

I was wondering what value is optimal in this situation

Even if you use the recommended formula, you're just setting a value that is large enough that you most likely won't have random crashes. It's a static number whereas if you let the system manage it, it will increase or decrease as needed.

Unless you are encountering a specific issue with a game, like game crashes that you have confirmed can only be fixed by changing this setting, you should always let your system manage this setting. There aren't any real performance gains to be had and you should be a bit more critical of any guides suggesting otherwise.

0

u/Brunticus 3d ago

I can revert to the suggested setting then.

2

u/inighthawki 3d ago

The page file will incur periodic writes when you overcommit memory, but you should absolutely not turn this off. As others said, just leave it alone. The OS knows what it's doing. You are microoptimizing the lifetime of your SSD in exchange for what will probably cause you a number of issue sin the future.

You can turn it down a bit if you want, but Windows will resize page files based on your usage patterns, so if it's 45GB it likely did this for a reason. The default is only like 50% of RAM I think, which means youre likely overcommitting memory way more frequently than you think you are.

1

u/Brunticus 3d ago

No, the picture is from a sketchy guide, my suggested was only 5GB. I'm just trying to use the lowest that makes sense since I was under the impression I don't need more than suggested. Thank you for confirming that turning it off is bad as that was one of my main inquiries.

2

u/Otherwise-Ad1899 3d ago

45000Mb is a lot, i personally use fixed 16384Mb for the paging file, i have 16gb of ram and Ive never had problems, if i had 32gb of ram id personally use fixed 8192Mb for paging file unless you use programs that use a lot of ram

2

u/Brunticus 3d ago

I'll try that for now. The example in the picture is definitely overkill.

1

u/inighthawki 3d ago

This is bad advice. Unless you have a specific need to restrict the page file size (such as extremely limited disk space that you absolutely need for other stuff), just leave it as OS managed. Windows will resize it based on need. There's no need ot guess about size up front.

1

u/Otherwise-Ad1899 2d ago

Thats the reason I said “personally” and there is no situation in which having a personal fixed amount of pagefile instead of letting windows manage it will cause a big problem

2

u/Crow550 2d ago

No matter the ram or os. Swap space on a drive will always be important

1

u/zeus1911 3d ago

Let windows control, don't use a custom amount. A few games will have problems otherwise.

1

u/mrmikedude100 2d ago

The only time I ever changed anything here was that I put page filing onto a faster drive. Helped with an issue I was having in Gears of War E-day.

1

u/EdwardFFS 3d ago

I used to do this when I still had HDD's. Is it still worth it on SSD's?