Max number of open files?


  1. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
       #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 Computer


  2. Posts : 1,255
    Windows 10 Pro
       #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 Computer


  3. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #3

    I was afraid of that. No easy solution I guess.
      My Computer


  4. Posts : 757
    Host W8.0 x64 Guest W10 x86
       #4

    pokeefe0001 said:
    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 Computer


  5. Posts : 720
    Win10 x64 Pro - 2 desktops, 2 laptops
    Thread Starter
       #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 Computer


  6. Posts : 757
    Host W8.0 x64 Guest W10 x86
       #6

    Glad you resolved it. :)
      My Computer


 

  Related Discussions
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 07:20.
Find Us




Windows 10 Forums