Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NVIM] 100% CPU for long periods #14

Closed
deevus opened this issue Dec 11, 2018 · 5 comments
Closed

[NVIM] 100% CPU for long periods #14

deevus opened this issue Dec 11, 2018 · 5 comments

Comments

@deevus
Copy link

deevus commented Dec 11, 2018

From htop:
image

OS: Fedora 29
Editor: NVIM v0.3.1

What other info do you need?

@deevus deevus changed the title [Neovim] 100% CPU for long periods [NVIM] 100% CPU for long periods Dec 11, 2018
@Shougo
Copy link

Shougo commented Dec 12, 2018

It seems YCM problem...

@zxqfl
Copy link

zxqfl commented Dec 12, 2018

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 codota/TabNine#24.

@deevus
Copy link
Author

deevus commented Dec 13, 2018

I'd have to check.

@deevus
Copy link
Author

deevus commented Feb 25, 2019

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

@jokeyrhyme
Copy link

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 :)

  • nvim 0.3.7
  • python 3.7.3
  • pynvim 0.3.2
  • ~/.vim/plugged/tabnine-vim b9f7b52
  • /proc/version Linux version 5.1.7-arch1-1-ARCH (builduser@heftig-7095) (gcc version 8.3.0 (GCC)) Slow on file open. Any mitigations?  #1 SMP PREEMPT Tue Jun 4 15:47:45 UTC 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants