TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

High memory usage of 'TabNine-deep-local'

Open rehack opened this issue 3 years ago • 4 comments

MacOS10.13 vscode Version: 1.59.1 Tabnine ext version | 3.4.26

Vscode is not in writing state, but ‘TabNine-deep-local’ memory usage is very high

image

gz#6012

rehack avatar Sep 03 '21 03:09 rehack

Hi @rehack Tabnine takes up a significant amount of memory because it loads the gpt2 model to the ram, independent of what happens in vscode. Fortunately, you can use our cloud option and disable the local service in the hub. Also, pro users can choose their model size, which also helps reduce the memory footprint of Tabnine.

Hope this helps:)

yonip23 avatar Sep 03 '21 08:09 yonip23

Thank you all so much @yonip23 I switched to cloud mode, TabNine-deep-local process no longer occupied memory

rehack avatar Sep 05 '21 06:09 rehack

Just notice that if you're not working with neither local or cloud enabled, you're working with the very bear minimum Tabnine has to offer. Your choice 🙂

yonip23 avatar Sep 05 '21 06:09 yonip23

I have the same issue

MrMoshkovitz avatar Mar 27 '22 17:03 MrMoshkovitz

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 Nov 14 '22 02:11 stale[bot]