Could help resolve memory errors when scanning a bit number of file.
@icewind1991 mind having a look ?
On a side note I saw with a debugger what kind of crazy names are going there in the "cache missed" portion of the method. Sometimes there is a leading slash, sometimes not, sometimes two, for the same name coming up several times. If that happens for every entry, it is likely that it will use even more memory.