Handle large number of files #270
Labels
code improvement
enhancement not seen by the user
difficult
A difficult problem; a major coding effort or difficult algorithm to perfect
enhancement
New feature or request
P1
important
Summary
Running
s4.exe C:/Windows/
resulted in most file processing threads returning "Error too many files open", and a failure to process that file.Suggested behavior
Better handle processing many files. Some suggestions:
filepreprocessor.rs
), eliminate more files from consideration by removing files with file name extensions that are likely to fail processing, e.g.*.dll
on a Windows platform is very likely a Dynamic Link Library file and will fail to process so do not attempt to process it.filepreprocessor.rs
), eliminate more files from consideration by analyzing the first 1024 bytes duringfilepreprocessor.rs
processing stage. This preprocessor analysis relates toFileType
guesstimating needs refactoring #257Workarounds
Limit the number of files opened by
s4
using some external mechanism, for example PowerShell cmdletGet-ChildItem
with a-Filter
In Unix, use
find
The text was updated successfully, but these errors were encountered: