What is the maximum paging file size on a 64-bit server?

I've seen reading several approaches to this, but wanted to hear what people are actually doing in the field when it comes to sizing the swap file (pagefile.sys) on Windows Server 2008 R2, 2012 R2 & 2016.

I know Microsoft's old guidelines for a 32-bit OS with maximum 4GB RAM recommended sizing the swap file at 1.5-2x RAM.  Now, with 64-bit OS and lets say minimum 16GB RAM, these guidelines seem wasteful of disk space; also you shouldn't be relying on the swap file as there's nothing slower than disk if you're swapping to/from memory.

Should we just size the swap file to capture the dump if the server crashes?  I've manually been setting most of my servers to minimum 4GB and maximum 6GB to conserve disk space, but my application development team complains they're experiencing performance problems because the swap file is too small, but if they're relying on swap to improve performance, it doesn't matter how large the file is, it'll be slow.  I'm on target here, aren't I?  Thank you.

check Best Answer

  • What is the maximum paging file size on a 64-bit server?

    checkBest Answer

    Point 1

    Microsoft recommends 1.5 times the physical memory so the memory can be saved to the page file in the event of a crash. This was important before Windows 7 came out since Windows had a lot of driver issues (BSOD). I challenge anyone to acknowledge that they have EVER sent a swap file dump to Microsoft or used such a dump in any way before Microsoft actually had them capture a dump using other methods.

    Sizing the page file based on memory size is just dumb. Even Microsoft has changed their recommendations for sizing when systems have 64 GB or more memory. They recommend 8 GB page file size in these cases.

    Point 2

    Paging memory to disk is a good way to reduce overall system performance - especially when your machine is virtualized. Why page memory to disk both on the VM and the host when both the VM and the host are likely to use file cache for the page file?

    Personal recommendations:

    Use a page file because some programs force it. Try to set at 300 MB. If that causes issues, set it to 1 GB in size. No more than that.

    1 found this helpful thumb_up thumb_down

  • View Best Answer in replies below

    Read these next...

    • What is the maximum paging file size on a 64-bit server?

      Snap! -- Astronaut Training, Beaming Energy, VR Controlled Bots, True Game Over

      Spiceworks Originals

      Your daily dose of tech news, in brief. Welcome to the Snap! Flashback: Back on November 11, 1675, German mathematician Gottfried Wilhelm Leibniz demonstrates integral calculus for the first time (Read more HERE.) Bonus Flashback: Back on Nov...

    • What is the maximum paging file size on a 64-bit server?

      Pentesting a basic brochure type website

      Security

      Hi all,Just after peoples opinions on pentesting basic brochure type websites. The type of websites that literally just have information about the company on there, they might have a contact form (input fields) but no other real interactive features, no i...

    • What is the maximum paging file size on a 64-bit server?

      any Ideas on how to ping a private IP remotely?

      Security

      Hi guys, so I have been looking for a way to monitor when one of my cameras go Down. that is I would like to receive some kind of alert when it loses connection for whatever reason. I have looked everywhere and there does not seem to be a good option for ...

    • What is the maximum paging file size on a 64-bit server?

      Spark! Pro Series - November 11th, 2022

      Spiceworks Originals

      Remembrance Day, Veterans Day, however it is named, it is a day for celebrating the memory of those who gave their lives in the many wars fought, those who gave a part of themselves and never got it back and those w...

    • What is the maximum paging file size on a 64-bit server?

      Low C Drive Space but not true

      Windows

      Hi Folks.I have a 2016 VM RDP Server that will not allow me to copy a 900MB file to the C drive.  The system reports 80.2GB free of 199GB.  I've run chkdsk, I've run Disk Cleanup, I've review the logs and found no relevant errors.  Also it's worthy to not...

    What is the maximum paging file size?

    The minimum and maximum size of the Pagefile can be up to 1.5 times and 4 times of the physical memory that your computer has, respectively. For example, if your computer has 1GB of RAM, the minimum Pagefile size can be 1.5GB, and the maximum size of the file can be 4GB.

    Do you need a paging file with 64GB RAM?

    no you dont need a paging file, 64GB is more than enough for this game. i run this game with 64GB and it never touches the paging file.

    What should I change my paging file size to?

    We recommend that you either allow the system to manage the page file size or to set it at 150% of the size of the physical RAM. Click OK, and then restart the computer to apply the changes.

    Do you need a pagefile with 32GB of RAM?

    In any case, when you have 32GB of RAM, unless you routinely run at 98% memory usage, I'd consider eliminating the page file altogether. The system will warn you if you're running low on virtual memory, and you can probably find a couple apps to close. Pagefile is just insurance nowadays.