D19644: Reduce balooctl index/clear memory usage

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Mar 9 20:57:07 GMT 2019


bruns requested changes to this revision.
bruns added a comment.
This revision now requires changes to proceed.


  Do not create a new transaction per file, thats costly.

INLINE COMMENTS

> main.cpp:222
>                  out << "Skipping: " << url << " Reason: Already scheduled for indexing\n";
>                  continue;
>              }

You are discarding the write transaction here withouth calling commit() or abort()

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D19644

To: davispuh, dhaumann, bruns, ngraham
Cc: bruns, kde-frameworks-devel, #baloo, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190309/6cbf4d80/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list