QFileSystemWatcher and too many open files
René J.V. Bertin
rjvbertin at gmail.com
Wed Sep 9 17:00:41 BST 2015
BUG 341551
I've been looking into https://bugs.kde.org/show_bug.cgi?id=341551 a bit more, trying to find a more graceful behaviour when hitting the open file limit instead of seeing KDevelop crash. I've found something that appears to do that trick (see my last comment in the bug report), but doesn't do anything to reduce the number of open files.
Question is: is it really necessary to set a watcher on each and every directory in a project? Wouldn't it be enough to set watchers on files opened for editing (and remove them when the file is closed)?
I for one would prefer having to reload a project directory manually (to trigger a re-parse) rather than exhausting my file descriptor quota ...
R.
More information about the KDevelop
mailing list