Do you play games with pagefile on or off?


  

125 members have voted

  1. 1. Do you play games with pagefile on or off?



Recommended Posts

Turning off the pagefile is a bad idea for sure, but wouldn't manually setting both the min and max value to the same amount prevent the pagefile from getting fragmented?

That is the perfect indicator for low memory (or an overly fragmented partition). Time to upgrade (resp. defrag)!

By the way, the OS pushes unneeded "stuff" to the pagefile first, so it being fragmented is of little relevance...

Turning off the pagefile is a bad idea for sure, but wouldn't manually setting both the min and max value to the same amount prevent the pagefile from getting fragmented?

Oh god talk about taking me back, we used to do that supporting Windows NT4.

There is no such thing as a secret page file. This is a myth that I think originated from the task manager in older versions of Windows, which incorrectly labeled certain graphs "page file usage" when that is not what they were. If you disable all page files, it really disables them.

The rest is right, which is why I suggest that he actually measures it.

It isn't secret, but it's never fully disabled either. Windows will use a pagefile whether you disable it or not, as I understand it.

If you open a program that uses 1GB of RAM and you have 512MB of RAM and your page file is disabled, what happens?

When it tries to allocate that much, Windows will return an error to the program saying that there is not enough memory. The program can then either gracefully deal with this or crash, depending on how well it is written.

Turning off the pagefile is a bad idea for sure, but wouldn't manually setting both the min and max value to the same amount prevent the pagefile from getting fragmented?

You can defragment the page file if you really want to though.

It isn't secret, but it's never fully disabled either. Windows will use a pagefile whether you disable it or not, as I understand it.

I showed you that it is not true. You aren't arguing with me now, you're arguing with Microsoft. I say secret because the people who make the claim can never document it. It's the kind of misconception that has given birth to the "put your page file on a RAM disk!" nonsense.

I think the belief stems from several things. The first is that Windows is a virtual memory-based OS (as is Linux and OS X), but this in itself has nothing to do with page files.

Another is the fact that Task Manager in XP and earlier had graphs that said "page file usage" that would still show the same even if you disabled all page files. The reason it did this is because it was incorrectly labeled. The graphs actually showed the commit charge, which simplified is the total amount of both physical RAM and page files in use.

The "page faults" column in Task Manager might also have some of the blame, because people think it actually shows paging to disk. It doesn't necessarily, because it contains both soft and hard page faults. A soft fault is when the data is already in memory, but not in the process's address space. Those are routine on any virtual memory OS, and have little performance impact. Hard page faults on the other hand, are when it has to read data from disk (but not necessarily a paging file.)

Of course all of this is a bit of a derail. The point is that Windows can run just fine without any page files, which can be useful for certain specialized setups, but not of much value on your normal general purpose computer. If people insist on doing it, they should at least do some testing and benchmarking to establish that it actually helps them. If it does, knock yourself out.

I have a lot of old page file 'tips' in my head that I've accumulated over the years (oh man, some of the old 9x optimization tips...) that I wonder today about the relevance or effectiveness.

The whole manually setting min/max to the same value one is still in my head and is almost a reflex after a clean install for me, if just out of habit. I know it doesn't hurt anything, but I wonder if it really makes much of a difference (if Windows keeps the drive bare up to the max value point anyway, it probably makes no difference).

I wonder, though, if it can still help to set your page file to a separate harddrive. Time was, if you had a spare, relatively low-capacity, fast drive lying around (the upgrade cycles always leave us with these), it seemed a good idea to throw it in and use it for virtual memory to slightly reduce access to your system drive. Is this still a fundamentally solid idea?

I showed you that it is not true. You aren't arguing with me now, you're arguing with Microsoft. I say secret because the people who make the claim can never document it. It's the kind of misconception that has given birth to the "put your page file on a RAM disk!" nonsense.

Personally I'm not arguing with anyone. That was the impression I was under, and it doesn't bother me either way.

http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx

Some feel having no paging file results in better performance, but in general, having a paging file means Windows can write pages on the modified list (which represent pages that aren?t being accessed actively but have not been saved to disk) out to the paging file, thus making that memory available for more useful purposes (processes or file cache). So while there may be some workloads that perform better with no paging file, in general having one will mean more usable memory being available to the system (never mind that Windows won?t be able to write kernel crash dumps without a paging file sized large enough to hold them).

It probably doesn't matter if you disable it given enough memory, but I'll pass.

I wonder, though, if it can still help to set your page file to a separate harddrive. Time was, if you had a spare, relatively low-capacity, fast drive lying around (the upgrade cycles always leave us with these), it seemed a good idea to throw it in and use it for virtual memory to slightly reduce access to your system drive. Is this still a fundamentally solid idea?

I suppose it still applies, but at the same time you have to factor in that times have changed and that it's not uncommon for modern systems to never run low on RAM. That means that even though the logic is sound, it doesn't make much difference in practice.

Personally I'm not arguing with anyone. That was the impression I was under, and it doesn't bother me either way.

Maybe, but you have to keep in mind that others read these threads. A lot of people read them. That's what the problem is.

I see you're quoting Russinovich (one of the few Technical Fellows in the core OS division of MS.) It might be helpful to know that he is also the principal author of the Windows Internals books that I quoted earlier.

Windows will complain that it is low on memory and ask you to close one of more applications.

When it tries to allocate that much, Windows will return an error to the program saying that there is not enough memory. The program can then either gracefully deal with this or crash, depending on how well it is written.

Yes but while that message shows up you can keep opening and opening and opening and opening and............ programs.

There was to be a point where a page file, even if it is disabled, HAS to exist because of this.

Yes but while that message shows up you can keep opening and opening and opening and opening and............ programs.

Yes you can, and they will all just fail.

There was to be a point where a page file, even if it is disabled, HAS to exist because of this.

I'm not sure what you're trying to argue. All that happens when you run out of memory is that memory allocation functions (like malloc) fail and return an error code to the program that called it. The program simply doesn't get what it asks for, and can deal with that in whatever manner it chooses. This is the same whether you run one or ten or a hundred programs.

I'm not sure what you're trying to argue.

What Im trying to argue is that there HAS to be a page file, even if it is disabled, for a critical situation.

What if the program is badly programmed and even though it returns a error code, it doesnt exit the process thus not freeing the memory? Windows draws up the GUI stating the error code (taking up memory itself as well) and it has to draw memory from somewhere.

^ This. Considering Windows / Linux or whatever have whole teams dedicated to improving preformance, surely if the pagefile was so bad, it wouldn't be enabled?

A lot of things in Windows are geared to what they view as the "average user", and many settings are set to "safe" ones which might result in decreased performance but will lower the number of calls coming through to support services.

Sure, some settings will be optimized around to account for different types of hardware but beyond a point performance is affected by how each individual user uses their system. Operating systems can do a better job by asking the user what their usage scenarios are, like if they are never going to use wireless, there's no real point in running related services (like WLAN Autoconfig). But that would introduce a degree of "complexity" of novice users who might one day decide to use the wireless card and find it not working (If you want to be pedantic, yes, Diagnostic Policy service could detect it; but this is just an example).

When considering the pagefile, the consensus is that it is needed, particularly to allow Windows to allocate memory to applications that request it without physically allocating it in RAM. But what about someone with 8GB of RAM but never needs to use more than 2GB. Going by MS recommendations, that would mean a 12GB pagefile. Yes, that's not harmful but what if the user had a 64GB SSD?

My point? The people coding OSes might be (are!) really smart and do a lot of research into improving performance, but they are delivering their binaries to 100s of millions of users, and some corners get cut so that the "average user" is happy. Things will get better over time but we are have not reached the point where the OS knows better than the most knowledgable user (but I'll admit that it knows better than the "average user").

What Im trying to argue is that there HAS to be a page file, even if it is disabled, for a critical situation.

What if the program is badly programmed and even though it returns a error code, it doesnt exit the process thus not freeing the memory? Windows draws up the GUI stating the error code (taking up memory itself as well) and it has to draw memory from somewhere.

if it receives an error code from malloc it means the memory could not be allocated, in which it never receives the memory in the first place, so it doesn't need to free it later

My point? The people coding OSes might be (are!) really smart and do a lot of research into improving performance, but they are delivering their binaries to 100s of millions of users, and some corners get cut so that the "average user" is happy. Things will get better over time but we are have not reached the point where the OS knows better than the most knowledgable user (but I'll admit that it knows better than the "average user").

Judging from the lunacy of some of the tweaks that "advanced users" make to Windows 7, I'd say the people at Microsoft accounted pretty well for all user types. Even advanced users have to admit, at a certain point, they have no idea what really goes on behind the scenes better than the people who made Windows.

And who's to say there's nothing in the Windows source code to account for all the niche situations that people keep tweaking about? Just because you don't see an option in the Control Panel or registry, doesn't mean Windows won't do some desperate measures when its stability is compromised.

What Im trying to argue is that there HAS to be a page file, even if it is disabled, for a critical situation.

It seems like you believe Windows is designed so that nothing must ever fail. It isn't. It's also worth pointing out that having a page file only increases the amount of memory available, it doesn't make it infinite. In other words, everything that applies to running out of memory without a page file, also applies to running out of memory with one. Both are easy to do if you try.

What if the program is badly programmed and even though it returns a error code, it doesnt exit the process thus not freeing the memory?

Like DDStriker says, the memory is never allocated and so does not have to be freed.

Windows draws up the GUI stating the error code (taking up memory itself as well) and it has to draw memory from somewhere.

Windows doesn't tell the user, it tells the program that made the function call, either by returning an error code, or by raising an exception. It tells the program--in code--that "sorry, the memory you asked for was not allocated."

Now, Windows will occasionally display warning messages to the user to notify him that memory is running low, but this is a separate thing and there's no 1:1 relationship with the number of failed allocations. It won't flood the screen with dialog boxes. There are also provisions to make sure that this dialog box can still be displayed in most cases, and to help you kill programs that are using excessive amounts of memory to help you restore the system to a usable level.

Disabling the page file is like running an OS that has no virtual memory. I don't know if you are old enough to remember, but those used to exist. The Amiga, for instance, did not have it. Once you ran out of memory there, you had to exit stuff to make more available. It's the same with Windows.

My point? The people coding OSes might be (are!) really smart and do a lot of research into improving performance, but they are delivering their binaries to 100s of millions of users, and some corners get cut so that the "average user" is happy. Things will get better over time but we are have not reached the point where the OS knows better than the most knowledgable user (but I'll admit that it knows better than the "average user").

Many people consider themselves expert when they really aren't though, or when they are experts on something completely unrelated. Obviously many advanced options have to exist, but it's probably safe to say that many people who go near them don't really know what they're doing.

No time to really post to hood so Ill keep it short

if it receives an error code from malloc it means the memory could not be allocated, in which it never receives the memory in the first place, so it doesn't need to free it later

When programming in C (simple programs), when malloc failed to reserve memory for say a dynamic struct, it would say the program has a error cant continue bla bla bla.......but the program is still running in the background even though that dynamic struct could never be reserved because (in this case) a illegal memory reservation..

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Go for a Echo Dot or Pop instead. These Echo shows just advertise to you.
    • NetSpeedTray 1.3.3 by Razvan Serea NetSpeedTray is a lightweight, open-source Windows network monitor that shows live upload and download speeds directly on the Taskbar. Designed for efficiency, it quietly sits in the system tray, conserving CPU and battery with dynamic updates. It blends seamlessly with Windows 10/11, adapts to light/dark themes, and auto-positions to avoid overlaps. Features include accurate interface detection, customizable display, optional mini-graph, color coding, granular font and unit control, detailed per-interface history graphs, safe data management, and easy CSV export—bringing the network monitoring Windows forgot. NetSpeedTray key features: Lightweight & Efficient Runs quietly in your system tray without consuming resources. Features a "Dynamic Update Rate" that lowers refresh frequency when the network is idle to save CPU and battery life. Native Look & Feel Blends seamlessly with Windows 10/11 UI. Smart detection for light and dark taskbar themes ensures text is always visible. Intelligent & Adaptive Positioning Automatically finds empty space next to your system tray and shifts to make room for new icons, preventing overlaps. Seamless OS Integration Behaves like a native Windows component. Hides instantly with auto-hiding taskbar Hides when a fullscreen app is active Smart Network Monitoring Accurate by Default: Auto mode identifies your main internet connection and ignores noise from VPNs or virtual adapters. Easy Interface Selection: Switch effortlessly between Auto, All, or Selected network interfaces via intuitive radio buttons. Total Visual Customization Free Move Mode: Unlock and place the widget anywhere on your screen. Optional Mini-Graph: Real-time graph of recent network activity with adjustable opacity. Color Coding: Customize colors and speed thresholds to quickly see network status. Granular Display Control Text & Font: Adjust font family, size, weight, and alignment. Units: Automatic (B/s, KB/s, MB/s) or fixed Mbps display. Precision: Set decimal places and always show them for uniform appearance. Detailed & Intelligent History Graph Smart Scale: Logarithmic scale shows low-level traffic and large spikes clearly. Per-Interface Filtering: View speed history for specific adapters (Wi-Fi, Ethernet, VPN). Safe & Efficient Data Management: Adjustable retention, automatic cleanup, optimized database. Easy Data Export: Export raw data to .csv or save high-quality graphs for reports. NetSpeedTray v1.3.3: The Updater Fix A stabilization release that repairs a critical regression in v1.3.2: the app shipped without OpenSSL, which silently broke every HTTPS request — including the built-in update checker (the "Could not check for updates" error many of you hit). This release restores it, hardens the build so it can't happen again, and fixes a startup crash plus four other reported bugs. Changes: Fixed update checking — Resolved a critical issue that prevented the app from checking for updates ("Could not check for updates"). Fixed startup crash with Auto-Cycling — The app no longer crashes on launch after enabling Cycle display mode. Fixed incorrect network speeds on 10GbE adapters — Multi-gigabit network cards now display speeds correctly instead of being stuck at 0. Improved color coding — Default color is shown when idle, and color/threshold changes now apply immediately without restarting. Fullscreen visibility fix — The widget now correctly stays visible over fullscreen apps when Keep Visible is enabled. Improved AMD Ryzen temperature detection — More reliable CPU temperature monitoring for Ryzen processors. Cleaner upgrades — Installer now removes outdated application files during upgrades, preventing DLL/version conflicts while preserving user settings. Improved stability — Fixed potential DLL loading issues by excluding critical OpenSSL and NumPy components from UPX compression. Better settings window — Scrollbars removed and layout improved for a cleaner experience. Localization improvements — Updated translations and completed missing UI text across all supported languages. More reliable releases — Added regression tests covering recent critical fixes, bringing the test suite to 196 passing tests. [full release notes] Download: NetSpeedTray 1.3.3 | 87.9 MB (Open Source) Download: NetSpeedTray Portable | 101.0 MB View: NetSpeedTray Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Why Delta Chat is the best decentralized messenger you have probably never tried by Paul Hill There is no shortage of messaging apps out there; we have WhatsApp, Messenger, and Telegram, just to name a few. While Meta has taken steps to incorporate encryption into Messenger and WhatsApp, they still leave a lot to be desired. If you are in the market for a messaging app that promotes security, privacy, and optional anonymity, you'll want to read what I have to say about Delta Chat. For those not familiar with Delta Chat, rather than relying on centralized servers as you do with Facebook Messenger, it relies on email. Essentially, it is a chat interface that feels like a messaging app, but secretly in the background, it is firing off emails. In the past, you used to have to sign in with your email account. When you sent messages to people, it would just be sending encrypted messages to their inbox, which their Delta Chat client would decrypt. When I first learned about Delta Chat, it required users to sign in with an email account, but I was pleasantly surprised upon trying it in 2026 that this is no longer a requirement, or the preferred method was to use the app. Recently, I’ve tried UAD-ng on my old Nokia 3.4 to disable most of the Google apps because the bootloader is locked, and this is the next best option. While finding replacement apps in F-Droid, I came across Delta Chat again, and it has undergone quite a big change since I last used it, with its new chatmail relays, which no longer require you to sign in to your own email account, providing anonymity, and they offer greater security. Android and Desktop Delta Chat apps. Not only does it run on my de-googled phone, but it also works on desktop computers and iOS, making it truly ubiquitous. For me, Delta Chat is a wonderful alternative messenger because it gives you more control. It supports switching between different profiles, which you can set up super quickly; you don’t register a username, you don’t register a password. The only thing you do have is a random string email address on a chatmail relay (which you don’t have to memorize). To maintain access to your profile, you just need to add a second device to your account via QR code or make a backup of your account, which you can restore later. Fail to do these, your account is gone - as it should be if you don’t want to leave accounts that could get hacked later on. My decision to block Google stuff on my Nokia was done for practical reasons; the device sucked when it launched, and it sucks even more now. The nice thing about F-Droid and the apps within is that they’re usually lightweight, free of bloat, and work well on that device. What was inconvenient for me was that it was hard to send messages from that device, say if I wanted to copy a code over to my main phone or send family members a link from that device. That’s when I decided to look at the available chat apps and saw Delta Chat. Another nice thing about Delta Chat is its notifications. Some messaging apps rely on Google’s ecosystem for notification transport on Android; however, with Delta Chat, it can use Google’s solutions if you have Play Services or MicroG installed. Otherwise, it is able to keep a background connection to the chatmail relay server so that you can get notified when you receive a message. As free software, the code of Delta Chat is open for all who want to take it and build upon it. In the future, if the developers of Delta Chat make a catastrophically bad decision and take the app in an undesirable direction, users can take the code and fork the project. This contrasts with closed-source apps from corporations that can take their products in any direction they like. By relying on free software instead of closed-source programs, you actually control your computing. I’ve spoken at length about how running this type of software is like owning your own home rather than renting it. The same applies here; if you use Delta Chat, you don’t need to worry about it going away in the future. Whether it is Telegram, WhatsApp, or Messenger, you are required to register a username and password to use these services. A major flaw in this design is that anyone can try various passwords and potentially break into your account with your complete chat history intact. Sure, there is encryption in Messenger, where you need a second PIN and two-factor authentication in Telegram, but breaches happen all the time. Unlike before, when you used to sign in to your email account to send and receive messages, the primary way to do it now is to create an account on a chatmail relay. The resulting email address is a random string followed by the name of the relay you pick. This means you can start and begin adding contacts Without a username and password, you either need to ensure you have a backup or at least one device running your Delta Chat profile. The primary way to log in on another device is to go to the settings and add a second device. Then, you’ll just scan a QR code with your new device, and it’ll log in to your account and sync all your chat history and contacts. To end users, Delta Chat just looks like any instant messenger; however, it is really sending your messages as encrypted emails to your contact. This is pretty cool from a censorship perspective, as it makes the service more difficult to block. Previously, the main way to use the app was by logging in with email, but nowadays, it’s recommended that you use chatmail relays. Chatmail relays temporarily hold messages in case your device is offline. They are cheap, simple servers that don’t store data as group states. Other information, like your name and avatar, only exists on your device and the devices of those you share your contact information with. The relays are also decentralized and operated by various groups and individuals. It is even possible to set up your own chatmail relay, but most people will want to use one hosted elsewhere. To keep your messages secure, Delta Chat uses a secure subset of the OpenPGP standard that gives you automatic end-to-end encryption. It also uses Secure-Join to exchange encryption setup information through QR-code scanning or invite links. Autocrypt is also used to automatically establish end-to-end encryption between contacts and all members of group chat, but sometime this year Autocrypt v2 will be rolled out, bringing post-quantum resistant encryption and forward secrecy. The Delta Chat FAQ is an interesting read that explains many more details about the app. Credit: Pexels Delta Chat is unique among messaging apps because it is built on email, a technology that’s decades old and isn’t going anywhere soon. What’s more is that email is not centralized either, so it’s far more difficult for any authoritarian regime to disrupt the Delta Chat app. I haven’t spoken too much about features yet, so I will do that now. Delta Chat allows you to do one-on-one chats, group chats, and create channels. It also supports file sharing and making audio and video calls when chatting one-to-one, but it’s not available for group chats right now. At the time of writing, the calling functionality is disabled and can be enabled in Settings > Advanced > Debug Calls. I have used the video calling feature, and the quality is excellent. It works over WebRTC, another open standard. The app also lets you send voice notes, enables disappearing messages, and has its own app ecosystem. I did try playing chess one time there, but it was a bit spotty; though, we did manage to complete the game with a victory for me. To add people to Delta Chat, you can either give them your Delta Chat link or your QR code to scan. These are the only ways to add users, so you won't have any spam bots bothering you. If the people you want to chat with don't have the app yet, just send them your link, and it will take them to a webpage where they can install the app and then add you. It's really quick for them to install it and get started, which is nice. Credit: Microsoft. The Majorana 2 quantum chip unveiled in 2026. I do not think quantum computers are too far out now, and I do hope that Delta Chat is able to push out Autocrypt v2 sooner, rather than later, so bad actors do not attempt to collect encrypted communications and then decrypt them in the future using quantum computers. By getting people’s messages post-quantum-safe now, users won’t have to worry when quantum computers start cracking legacy encryption. Overall, I would recommend this app to people who are already past WhatsApp and Messenger and have perhaps begun using apps like Telegram or Session. It shares a lot of characteristics with these apps and goes a lot further than Telegram in terms of security. By being based on email, it is also resistant to censorship, and the lack of a username and password makes you anonymous (if you want to be) and safe from brute force password cracking attempts. Let me know in the comments if you’ve tried Delta Chat recently. Do you think it's a good bulwark against governments that are tightening their grip on the internet?
  • Recent Achievements

    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
    • Week One Done
      tuben earned a badge
      Week One Done
    • First Post
      OffsetAbs earned a badge
      First Post
    • Reacting Well
      OffsetAbs earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      474
    2. 2
      +Edouard
      220
    3. 3
      PsYcHoKiLLa
      156
    4. 4
      Steven P.
      73
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!