I have a project with a folder that contains ~800,000 text files

FinancialDataSite_Go\SECfiles\submissions
it's the submissions folder that contains all the text files
whenever I try to open my project up in vscode I get this error

I didn't have this problem until I added all the text files to the submissions folder.
During my countless attempts to open the project folder with vscode, I had a couple successes where I can open the FinancialDataSite_Go folder in vscode but as soon as I try to open the SECfiles folder on the left bar, vscode freezes up and spit out the same error
Is vscode just unable to work with folder that contain many files?