From 4a76b41b9e2514ffa0d842203a16cf652ead9510 Mon Sep 17 00:00:00 2001 From: scotty Date: Mon, 29 Jul 2024 17:01:54 +0300 Subject: [PATCH] new post --- _posts/2024-07-29-paging-memory.md | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 _posts/2024-07-29-paging-memory.md diff --git a/_posts/2024-07-29-paging-memory.md b/_posts/2024-07-29-paging-memory.md new file mode 100644 index 0000000..5187345 --- /dev/null +++ b/_posts/2024-07-29-paging-memory.md @@ -0,0 +1,39 @@ +--- +title: "How to set the right amount of paging memory on Windows." +tags: "Windows", "Guides" +description: "Made for modern Windows OSes." +layout: post + +--- +Hello! :wave: + +Paging memory is kinda like Linux' swap memory. +It's used for storing memory of large applications too big for your RAM to handle, for our case, games. + +Your games wont and can't run on 8 or 16 GBs or ram, probably not even 32 if it's a new AAA game. That's why there's paged memory, and too little of it can cause memory leaks and BSODs. + +Windows automatically comes up with the required amount of paging memory, but sometimes it's not enough. + +# How to change it +Right Click on Windows/Start Menu > System. +W11: Click on ``Advanced system settings`` +W10: Scroll down until you see ``Advanced system settings`` and click on it. + +Click on ``Perfromance`` tab, then under ``Virtual Memory`` click on Change. +Disable ``Automatically manage paging file size for all drives``. + +Select ``Custom size`` if not selected already. + +## Determining your right amount for the paging pool. + +Initial size: 1.5 x your RAM size (e.g. 16 gb) +Maximum size: 3 x Initial Size + +Example: +> "So let's say you have 4 GB (1 GB = 1,024 MB x 4 = 4,096 MB) of memory. The initial size would be 1.5 x 4,096 = 6,144 MB and the maximum size would be 3 x 6,144 = 18,432 MB." +- [Source: GeeksInPhoenix](https://www.geeksinphoenix.com/blog/post/2016/05/10/how-to-manage-windows-10-virtual-memory) + +Then click ``Set`` then click ``Apply`` and ``OK`` on every box, then reboot. + +# Congratulations! :tada: +This is the end of the guide. Your PC/Laptop should now be memory-leak free! \ No newline at end of file