1.    21 Jun 2016 #1
    Join Date : Jul 2015
    Pacific Northwest, USA
    Posts : 371
    Win10 x64 Pro -2 desktops, 1 laptop

    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
    Join Date : Oct 2014
    Posts : 745
    Windows 7

    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.    21 Jun 2016 #3
    Join Date : Jul 2015
    Pacific Northwest, USA
    Posts : 371
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter

    I was afraid of that. No easy solution I guess.
      My ComputerSystem Spec
  4.    21 Jun 2016 #4
    Join Date : Jan 2014
    Posts : 743
    Host W8.0 x64 Guest W10 x86

    Quote Originally Posted by pokeefe0001 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.    22 Jun 2016 #5
    Join Date : Jul 2015
    Pacific Northwest, USA
    Posts : 371
    Win10 x64 Pro -2 desktops, 1 laptop
    Thread Starter

    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.    23 Jun 2016 #6
    Join Date : Jan 2014
    Posts : 743
    Host W8.0 x64 Guest W10 x86

    Glad you resolved it.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
File explorer --Very Slow for moving large number of small files
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...
Performance & Maintenance
Increase the number of "Recent files" show in quick access
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...
Customization
File Explorer search, display only files using column number
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...
General Support
Cannot open files
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.
General Support
Open Files Disappear When I Open Chrome, Chrome Disappears When I Open
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...
General Support
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 11:36.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums