Windows 10: Max number of open files? Solved


  1. Posts : 336
    Win10 x64 Pro -2 desktops, 1 laptop
       21 Jun 2016 #1

    Max number of open files?


    Is there a setting in Win10 that limits the number of files a program can open, or that slows down a program with too many files open? I run a program that can, in some circumstances, open and read hundreds of files in parallel. In on very repeatable circumstance the program would read the files in about 30 seconds. After a clean reinstall of Windows it takes 2-4 times as long. Process Explorer show the I/O activity in spurts - about 20 seconds of nearly constant reading followed by pauses of anywhere between 5 and 30 seconds. The bursts of reading are much shorter than the pauses. I've been pursuing possible driver causes, but it could be as simple as parameter that was changed during the reinstall. Another aspect: the data read into storage. Memory allocation starts at about 2.4GB and ends at 5.2GB. I have 16BG so there is plenty of room, but could Windows be penalizing a storage hog?
      My ComputerSystem Spec

  2.    21 Jun 2016 #2

    I have never heard of any version of Windows having any means of limiting open files. In practice the only limit is resource availability and that depends on many factors. Windows does not penalize storage hogs.
      My ComputerSystem Spec


  3. Posts : 336
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter
       21 Jun 2016 #3

    I was afraid of that. No easy solution I guess.
      My ComputerSystem Spec


  4. Posts : 740
    Host W8.0 x64 Guest W10 x86
       21 Jun 2016 #4

    pokeefe0001 said: View Post
    I was afraid of that. No easy solution I guess.
    I don't know if it would cause the lags you describe. But for simple NTFS partitions every time I get a new PC or reinstall I use the fsutil command line tool to do things like turn off setting the last access times for files(if you do not have any software that needs to know the last access of files it can speed things up and reduce thrashing.) Also fsutil can increase the file system memory buffers and do a few more tweaks.

    Any time you mess with these type of tweak though, it is a good idea to back up the registry with something dependable so you can undo a sour adjustment. I only toy with fsutil on simple/basic NTFS partitions. If there is anything exotic about a partition in the disk management I just leave it with the default settings.

    Fsutil
      My ComputerSystem Spec


  5. Posts : 336
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter
       22 Jun 2016 #5

    The not-so-easy solution was a re-clean-reinstall of Windows. I've no clue what the problem with the previous clean reinstall was, but all seems okay now.
      My ComputerSystem Spec


  6. Posts : 740
    Host W8.0 x64 Guest W10 x86
       23 Jun 2016 #6

    Glad you resolved it.
      My ComputerSystem Spec


 

Related Threads
Hi there If you have Loads (and I mean Loads) of small files - e-books, excel data. word docs, emails etc etc then File explorer runs REALLY slow on even fast devices I gave up moving this lot after about 4 hours. (W10 machine). Switched...
Hi, in the "Quick access" window it currently shows the 20 most recently opened files. I would like to increase that number to something around 40 or 50. I'm guessing I'll have to do this through the registry, but I don't know where. Any help would...
When I have a long number of files in a folder and want to use the search function to show only the file names that contain a certain number or letter at an exact column number (in the file name) how can I accomplish that? example kit12.txt...
Cannot open files in General Support
Hi- Used Laplink Pcmover Pro to transfer my files from my old computer to the new. Problem is that now I can't open pictures, documents, music on the new computer. Keep getting message that I need permission to open this file.
Hi, I just updated to W10. If I open several files/documents I get the icon in the taskbar (the bar at the bottom of the page), hover over it and see the documents that are open. I then open Chrome and the Chrome icon appears in the taskbar and...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:43.
Find Us