KDirWatch and kdevelop idle CPU usage (4.7/1.7)
kfunk at kde.org
Tue Apr 21 16:19:08 BST 2015
On Tuesday, April 21, 2015 13:08:44 René J.V. Bertin wrote:
> 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
At the beginning of main, yes.
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: This is a digitally signed message part.
More information about the KDevelop