uctakeoff / vscode-counter

VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.
MIT License
151 stars 20 forks source link

Maximum call stack exceeded when counting very large repo #99

Open DaqiHu opened 8 months ago

DaqiHu commented 8 months ago

I tried to count Unreal Engine's repository (maybe over 10M lines?) and got this error.

image

uctakeoff commented 8 months ago

Is it possible to set the maximum number of directory recursions in the settings?

DaqiHu commented 8 months ago

I haven't found any option about 'stack size for vscode plugin' till now, :-(

uctakeoff commented 8 months ago

I'm sorry. My English was poor. "Would updating the program to allow setting the maximum number of directory recursions solve this problem?" I was asking for advice. It is possible that you are reading too many files or directories at the same time. I will give it some thought.