-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
CPU 100% #58
Comments
What is get-pip.py? |
@Shougo a script help to install pip |
https://bootstrap.pypa.io/get-pip.py It is 1.5MB. Too huge. |
I'm having the same issue with a small or empty file: For some reason the python3 will spawn subprocesses and the python2 will use 100% of the cpu. neovim interface will block at this point and it won't be usable. init.vim:
versions:
|
@hackaugusto deoplete and deoplete-jedi does not spawn Python2 interface. |
Humm, it could be this issue: davidhalter/jedi-vim#687 I thought the command |
For Jedi: davidhalter/jedi#878 |
So, it is not deoplete-jedi problem. |
I had bisected it in Jedi, and it is probably a newer issue then the reported one. I think deoplete-jedi should abort after some timeout to prevent this and report an error with traceback. /cc @tweekmonster |
@tweekmonster I don't think adding a timeout is a good solution for this problem: it will just stop completion for this file totally and have side effect #124. It is better just stopping the completion totally when the input file is too large. |
I have added limit option in deoplete. |
For reference: Shougo/deoplete.nvim@04de49e |
Problems summary
CPU up to 100% about two min
Expected
Environment Information
Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
Screen shot (if possible)
Upload the log file
THE LOG IS TOO LARGE.
PLEASE!! rename it with log_5970.tar.xz first.
log_5970.zip
WISH HELP TO YOU!
The text was updated successfully, but these errors were encountered: