tbodt / deoplete-tabnine

Deoplete source for TabNine
256 stars 17 forks source link

900+MB log file #18

Closed glibsm closed 5 years ago

glibsm commented 5 years ago

The log appears to be out of control:

~/.config/nvim/plugged/deoplete-tabnine master*
❯ ll tabnine.log
-rw-r--r--  1   941M Jan 31 13:27 tabnine.log

It seems to be mostly polluted by the following message:

~/.config/nvim/plugged/deoplete-tabnine master* 27s
❯ tail tabnine.log
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)

I'm not sure if it's related to the CPU usage problems, but TabNine has been spiking to 200-300% cpu util without any apparent need (in fact often vim is actually suspended through C-Z).

Any leads? I'm happy to provide more details if I can.

tbodt commented 5 years ago

This is an issue with TabNine, not deoplete-tabnine. You can report it at https://github.com/zxqfl/TabNine/issues