<table><tr><td style="">mwolff created this revision.<br />Restricted Application added a project: KDE PIM.<br />Restricted Application added a subscriber: KDE PIM.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7921" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is only sharing the data within a single mail. It could<br />
be optimized even further by reusing the same instance for every<br />
thread. But I think that's not easy without implementing threading<br />
on the server side.</p>

<p>This decreases peak memory consumption by ~100MB on my mails, when<br />
opening the LKML folder.</p>

<p>Depends on new KMime API (cf. <a href="https://phabricator.kde.org/D7920" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D7920</a>).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R44 KDE PIM Runtime</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7921" rel="noreferrer">https://phabricator.kde.org/D7921</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/akonadi_serializer_mail.cpp</div></div></div><br /><div><strong>To: </strong>mwolff<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>