codota / tabnine-vim

Vim client for TabNine. https://vimawesome.com/plugin/tabnine-vim
https://www.tabnine.com/install/vim
GNU General Public License v3.0
672 stars 36 forks source link

[NVIM] 100% CPU for long periods #14

Closed deevus closed 3 years ago

deevus commented 5 years ago

From htop: image

OS: Fedora 29 Editor: NVIM v0.3.1

What other info do you need?

Shougo commented 5 years ago

It seems YCM problem...

zxqfl commented 5 years ago

Thanks for the report. Does this occur in an open source project? This would help me reproduce the issue. It seems like this might be the same issue as https://github.com/zxqfl/TabNine/issues/24.

deevus commented 5 years ago

I'd have to check.

deevus commented 5 years ago

Even with deoplete-tabnine this still persists. So it's probably related to the TabNine binary as you say

jokeyrhyme commented 5 years ago

I just encountered this in the last week or so, and it's happening right now as I type this

My whole computer froze for several minutes, top is showing TabNine "winning" by using 99% CPU (occasionally, rls (Rust) will rise from insignificant to 2nd place), the hard drive light is on solid (not flickering), /proc/loadavg went as high as 19.5

After several minutes, my system regained interactivity / responsiveness, so I could check top, etc

Previously, when this happened, I just reset my computer, but this time I was patient, and it paid off :)