I’m creating a scanner that scan VST3 plugins from a folder with PluginDirectoryScanner and scanNextFile. It works well, but when I scan a folder that has a lot of VST3 files (about 800 or more) it crashes.
This is the error that is happening on file juce_VST3PluginFormat. As you can se it is related with CFBundleLoadExecutableAndReturnError.
Unfortunately no, it crashes even in release version. I think it’s related to a memory issue that cannot handle to scan a lot of plugins. I’m checking what I can do.
So I think most folks who make reliable scanners end up realizing they have to do them out of process with a sub process that does n at a time and records the done ones. I don’t know if there’s another answer especially if some vsts have big load time footprints