codota / TabNine

AI Code Completions
https://tabnine.com
MIT License
10.65k stars 500 forks source link

Memory leak #637

Closed robko23 closed 8 months ago

robko23 commented 10 months ago

OS version: Linux 6.3.6-zen-gd787073602cf #4 ZEN SMP PREEMPT_DYNAMIC Wed Jun 7 12:36:20 CEST 2023 x86_64 unknown unknown GNU/Linux Editor: neovim and rustrover Editor version: nvim: 0.9.2, rustrover: 2023.3 Programming language: rust, typescript Command:

../binaries/4.75.0/x86_64-unknown-linux-musl/TabNine --client nvim --client-metadata ide-restart-counter=4 pluginVersion=1.7.0 --no_bootstrap

Issue Details: Tabnine allocates a ton of memory very frequently. On my laptop where I have 16GB ram it will happily eat 9GB and on my main computer (32GB) it eats as much as 28GB. I had to install earlyoom on both machines, because it froze my entire system. When I open studio, it's working "fine" for a like half an hour and the it goes off the rails and allocates the rest of free system memory in 1-2 minutes. Earlyoom kills it, tabnine restarts and now the cycle repeats. Sometimes it gets killed 10 times in span on 20 minutes. It's been like this for about 3-4 month but I hoped an update or changing IDEs would help, but no it didn't and it's becoming very annoying.

The logs I found were almost empty and contained nothing important. And I have tabnine pro if that helps somehow.

gz#29120

(related to Zendesk ticket #29120)

amirbilu commented 10 months ago

Hi @robko23, apologies on that bad UX. if you're a pro user - can you try to switch to cloud-only mode? in Tabnine hubL image

robko23 commented 10 months ago

Yes, I have been using cloud only mode for the past month. I have tried hybrid before and it was the same.

amirbilu commented 10 months ago

What's you Tabnine Pro Id?

robko23 commented 10 months ago

where can i find it?

amirbilu commented 10 months ago

Sorry if I wasn't clear.. your email

robko23 commented 10 months ago

Oh... Of course :D Is there any way I can send it to you privately?

amirbilu commented 10 months ago

Sure.. support@tabnine.com

stale[bot] commented 8 months ago

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.