Windows页面文件是一个特殊文件,它保存您的RAM在达到其限制时无法保存的数据。您的系统RAM有限制。如果您的系统试图超过该限制,它可以将一些数据传递到页面文件中。
这不是管理系统内存的最有效方式。但是,页面文件是必需的,它将使您的系统保持良好运行。
因此,以下是Windows 10页面文件的内容,以及页面文件的工作原理。
什么是页面文件?(What Is a Page File?)
您的计算机有一定数量的 RAM(Your computer has a set amount of RAM)或随机存取存储器(Random Access Memory)。不确定您的系统有多少?在开始菜单(Start Menu)搜索栏中输入系统信息。(system information)当系统信息(System Information)窗口打开时,向下滚动以找到已安装的物理内存 (RAM)(Installed Physical Memory (RAM))。除此之外,还有计算机上安装的RAM量。(RAM)
RAM保存与打开程序相关的所有信息,例如工作存储区。RAM通过保存定期访问的数据来帮助您快速保持计算机上的活动。此外,RAM比旧硬盘快得多,甚至比固态硬盘还要快。
您希望您的RAM处于使用状态。也就是说,您需要足够的RAM来保持系统快速运行并保存足够的数据,以免拖慢您的速度。但是,如果您开始用完RAM,您的计算机可能需要更长的时间才能完成常规任务(your computer can begin to take longer to complete regular tasks)。
当内存(RAM)不足时,页面文件开始发挥作用。
页面文件(也称为交换文件)是硬盘上的文件。当您的RAM变满时,Windows会将一些多余的数据移动到页面文件中。因此,页面文件充当一种虚拟内存,可以在硬盘驱动器和RAM之间交换一些数据。
页面文件如何工作?(How Does The Page File Work?)
Windows尝试有效地使用页面文件。这意味着它会查找您当时未使用但仍保存在RAM中的数据。例如,如果您(像我一样!)坐在打开许多不同的应用程序窗口但已最小化的情况下,Windows可能会将一些后台应用程序窗口移动到页面文件中。
移动这些文件的数据可以为您正在使用的应用程序释放活动RAM空间(可能帮助它们运行得更快、更流畅),并且可以在您打开窗口时轻松地从页面文件中检索。(RAM)
页面文件是自我管理的。您不需要摆弄页面文件设置,除非在某些情况下。通常,页面文件设置为安装RAM(RAM)的最小 1.5 倍和最大 3 倍。
例如,具有 4GB RAM的系统的最小值为 1024x4x1.5=6,144MB [1GB RAM x 已安装RAM x 最小值]。然而(Whereas),最大值为 1024x4x3=12,288MB [1GB RAM x 已安装RAM x 最大值]。
将页面文件增加到最大大小也是不可取的,因为它会导致系统不稳定。
我可以禁用页面文件吗?(Can I Disable The Page File?)
禁用页面文件以提高系统性能是一个神话。如果您的系统内存相对较低,禁用将一些数据传递到硬盘驱动器的功能只会损害整体性能(尽管会在硬盘驱动器上节省几 GB 的存储空间)。
在最坏的情况下,如果您开始用完RAM ,禁用页面文件将导致程序崩溃(disabling the page file will cause programs to crash),因为没有地方可用于额外的数据。崩溃的程序可能会导致其他系统不稳定,所以这是不值得的。
即使在我的计算机上安装了 16GB RAM,我仍然保持页面文件完好无损!
虚拟内存不足(Running Low On Virtual Memory)
提醒人们页面文件存在的一个常见问题是虚拟内存不足。您可能会遇到如下错误消息:
“您的系统虚拟内存不足。Windows 正在增加您的虚拟内存分页文件的大小。在此过程中,可能会拒绝某些应用程序的内存请求。有关更多信息,请参阅帮助。”(“Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see help.”)
此消息意味着,除了您的RAM已满,您的页面文件也在接缝处爆裂。因此,您需要增加虚拟内存,例如页面文件。请记住(Remember),干预您的页面文件并不常见,但这是例外情况之一。
如何增加页面文件大小(How To Increase The Page File Size)
如果您确实需要增加页面文件的大小,您可以手动编辑它。如上所述,您应该只在特殊情况下这样做。
1. 前往Control Panel > System and Security > System,然后选择更改设置(Change Settings)。
2. 切换到高级(Advanced)选项卡。在性能(Performance)下,选择设置(Settings)。
3. 切换到高级(Advanced )选项卡。在虚拟内存(Virtual Memory)下,选择更改(Change)。
4. 取消选中自动管理所有驱动器的分页文件大小( Automatically manage paging file size for all drives)。
5. 将分页文件的大小增加至安装 RAM的 1.5 到 3 倍。(within 1.5 to 3 times)准备好后按设置。(Set)
按OK离开虚拟内存(Virtual Memory)管理窗口。您现在已经更改了页面文件大小。
升级您的 RAM 以获得更好的性能(Upgrade Your RAM For Better Performance)
升迁页面文件只是虚拟内存问题的临时解决方案。如果您经常达到虚拟内存限制并发现自己不得不调整页面文件,您应该考虑安装更多 RAM(you should consider installing more RAM)。
安装更多RAM是提高系统速度和功能的一种经济有效的方法。更好(Better)的是,网上有无数的教程可以告诉你如何去做!难怪RAM升级是让您的计算机超快的方法之一(one of the ways to make your computer blazingly fast)!
What is the Page File in Windows 10?
The Windows page file is a special file that holds data your RAM cannot hоld when it reaches іts limitѕ. Your sуstem RAM has a limit. If yoυr sуstem triеs to exceed that limit, it can pasѕ sоme of the data off into the page file.
It isn’t the most efficient way to manage your system memory. However, a page file is a necessity and will keep your system ticking along nicely.
So, here’s what the Windows 10 page file is, and how a page file works.
What Is a Page File?
Your computer has a set amount of RAM or Random Access Memory. Unsure how much your system has? Type system information in your Start Menu search bar. When the System Information window opens, scroll down to find Installed Physical Memory (RAM). Alongside this is the amount of RAM installed on your computer.
RAM holds all of the information relating to open programs, like a working storage area. RAM helps to keep activities on your computer fast by holding regularly accessed data. Plus, RAM is much faster than your old hard drive, and faster even than your solid-state drive.
You want your RAM in use. That is, you want enough RAM to keep your system fast and hold enough data that it doesn’t slow you down. But if you begin running out of RAM, your computer can begin to take longer to complete regular tasks.
When RAM runs low, the page file comes into play.
The page file (also known as a swap file) is a file on your hard drive. When your RAM becomes full, Windows moves some of the excess data into the page file. As such, the page file acts as a type of virtual memory, enabling some swapping of data between your hard drive and RAM.
How Does The Page File Work?
Windows attempts to use the page file efficiently. That means it looks for the data you are not using at the time but is still held in your RAM. For example, if you (like me!) sit with many different application windows open but minimized, Windows may move some of the background application windows into the paging file.
Moving the data for these files frees up active RAM space for the applications you are using (potentially helping them to run faster and smoother), and is easily retrievable from the page file when you open the window.
The page file is self-managing. You don’t need to fiddle around with the page file settings, except for in certain situations. Typically, the page file is set between a minimum of 1.5 times and a maximum of three times your install RAM.
For example, a system with 4GB RAM would have a minimum of 1024x4x1.5=6,144MB [1GB RAM x Installed RAM x Minimum]. Whereas, the maximum is 1024x4x3=12,288MB [1GB RAM x Installed RAM x Maximum].
Increasing your page file to the maximum size is also inadvisable because it can create system instabilities.
Can I Disable The Page File?
Disabling the page file to improve system performance is a myth. If you have a system with relatively low memory, disabling the ability to pass some data off into your hard drive will only harm overall performance (albeit saving a few gigabytes of storage on your hard drive).
At the very worst, disabling the page file will cause programs to crash if you begin to run out of RAM, as there is nowhere for the additional data to go. Crashing programs can cause other system instabilities, so it just isn’t worth it.
Even with 16GB RAM installed on my computer, I keep the paging file intact!
Running Low On Virtual Memory
One common issue that alerts people to the presence of the paging file is running low on virtual memory. You might encounter an error message like this:
“Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see help.”
This message means that as well as your RAM being full, your page file is also bursting at the seams. As such, you need to increase your virtual memory, e.g., the page file. Remember, meddling with your page file isn’t common, but this is one of the exceptions.
How To Increase The Page File Size
If you do need to increase the size of your page file, you can edit it manually. As mentioned above, you should only do this under exceptional circumstances.
1. Head to Control Panel > System and Security > System, then select Change Settings.
2. Switch to the Advanced tab. Under Performance, select Settings.
3. Switch to the Advanced tab. Under Virtual Memory, select Change.
4. Uncheck Automatically manage paging file size for all drives.
5. Increase the size of the paging file within 1.5 to 3 times your installed RAM. Press Set when you’re ready.
Press OK to leave the Virtual Memory management window. You have now changed your page file size.
Upgrade Your RAM For Better Performance
Upsizing your page file is only a temporary solution to a virtual memory issue. If you frequently hit the virtual memory limit and find yourself having to adjust the page file, you should consider installing more RAM.
Installing more RAM is a cost-effective way to boost your system speed and capabilities. Better still, there are countless tutorials online advising you exactly how to do it! It’s no wonder a RAM upgrade is one of the ways to make your computer blazingly fast!