KDirWatch and kdevelop idle CPU usage (4.7/1.7)

René J.V. Bertin rjvbertin at gmail.com
Tue Apr 21 12:08:44 BST 2015

On Tuesday April 21 2015 12:44:27 Kevin Funk wrote:

>For the record: QtC modifies the limit of the number of files that can be opened 
>specifically on OSX.
>Might be worth investigating whether that helps us as well.
>295│ #ifdef Q_OS_MAC
>296│     // increase the number of file that can be opened in Qt Creator.
>297│     struct rlimit rl;
>298│     getrlimit(RLIMIT_NOFILE, &rl);
>300│     rl.rlim_cur = qMin((rlim_t)OPEN_MAX, rl.rlim_max);
>301│     setrlimit(RLIMIT_NOFILE, &rl);
>302│ #endif
>@Rene, care to try this out?

Sure, though maybe not for a couple of days :)

Where would you have me put that blurb; start of main or in a more relevant location?


More information about the KDevelop mailing list