tabnine-vscode icon indicating copy to clipboard operation
tabnine-vscode copied to clipboard

Tabnine use 100% CPU when I have a large array in a JS file

Open OB42 opened this issue 3 years ago • 1 comments
trafficstars

Ubuntu 18.04 Javascript Tabnine 3.5.26 VS code 1.63.2

Hi, I get 100% CPU usage indefinitely when I work on a javascript file with a large array of strings inside it. It might be nice to just ignore large arrays when doing autocompletion? doesn't seem that useful to take them into account

Thanks

gz#12631

OB42 avatar Mar 12 '22 23:03 OB42

Hi @OB42 first of all if you suffer from high CPU and memory usage, try enabling the cloud model and disable the local model. Second, since you use VSCode, you can try disabling specific regex at Disable_line_regex. Go to Tabnine extension settings: Screen Shot 2022-03-13 at 14 56 16

maya-tabnine avatar Mar 13 '22 12:03 maya-tabnine

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 13 '22 16:10 stale[bot]