I recently upgraded Spyder to v4.0.0, which now suggests Kite for handling autocompletion. It works really fine but induces a system-wide error from inotify
, wrongly entitled "No space left on device". Note that I first saw this error when starting RStudio, although it is not the culprit. The error actually means that the maximum number of inotify watches has been reached. I was able to trace the error back to Kite by using this great script. And I noticed that Kite keeps a watch on every single file in my home folder!
My question is not about hacking a fix to the error: methods for increasing the number of available inotify watches have been discussed elsewhere.
What I would like, instead, is a way to limit the folder(s) watched by Kite. Because every watch consumes 1K of unswappable system memory and reserving ~500MB of RAM for monitoring my holiday pictures won't help for code completion.
I haven't tested it yet, but the issue should now be fixed. Thanks to the devs! See this comment