Spyder 的风筝在我所有的主文件夹中保持 inotify 监视。我可以避免吗?

Spyder's Kite keeps inotify watches on all my home folder. Can I avoid it?

我最近将 Spyder 升级到 v4.0.0,现在建议 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。我注意到 Kite 会监视我主文件夹中的每个文件!

我的问题不是关于破解错误的修复:已经讨论了增加可用 inotify 手表数量的方法elsewhere

相反,我想要的是一种限制 Kite 观看的文件夹的方法。因为每个手表 consumes 1K 不可交换的系统内存和保留 ~500MB 的 RAM 用于监控我的假期照片将无助于代码完成。

我还没有测试过,但这个问题现在应该已经解决了。感谢开发者!参见 this comment