[Kde-pim] kaddressbook takes 1.3G RSS for ~550k entries

Shaheed Haque srhaque at theiet.org
Sun Apr 28 10:54:15 BST 2013


Hi Mark,

On 27 April 2013 23:18, Mark <markg85 at gmail.com> wrote:

> On Sat, Apr 27, 2013 at 2:44 PM, Shaheed Haque <srhaque at theiet.org> wrote:
> > I've got some output from massif (about 2MB textfile) if anyone is
> > interested in looking at it.
> >
> >
> > On 26 April 2013 17:40, Shaheed Haque <srhaque at theiet.org> wrote:
> >
> >> Sorry, that was stupid. Obviously, I need to run massif on kaddressbook
> >> itself...
> >>
> >>
> >> On 26 April 2013 17:22, Shaheed Haque <srhaque at theiet.org> wrote:
> >>
> >>> Ack, but how to use valgrind with an Akonadi resource process?
> >>>
> >>>
> >>> On 26 April 2013 09:16, Sune Vuorela <nospam at vuorela.dk> wrote:
> >>>
> >>>> On 2013-04-25, Shaheed Haque <srhaque at theiet.org> wrote:
> >>>> > The QR option seems to work for me.
> >>>> >
> >>>> > How best can I help track down the memory consumption issue?
> >>>>
> >>>> Do you know tools like valgrind or massif? if you do, you could use
> them
> >>>> to point out where something goes wrong in the code.
> >>>>
> >>>> /Sune
> >>>>  - barcode author
> >>>>
> >>>> _______________________________________________
> >>>> KDE PIM mailing list kde-pim at kde.org
> >>>> https://mail.kde.org/mailman/listinfo/kde-pim
> >>>> KDE PIM home page at http://pim.kde.org/
> >>>>
> >>>
> >>>
> >>
> > _______________________________________________
> > KDE PIM mailing list kde-pim at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-pim
> > KDE PIM home page at http://pim.kde.org/
>
> Well, there is this awesome massif visualizer you can use to make a
> nice chart that probably clearly shows which object is being used
> most. https://projects.kde.org/projects/extragear/sdk/massif-visualizer
> The actual data would be needed for more precise pinpointing so i'd
> probably recommend putting your 2MB file on http://paste.kde.org/ (set
> it at "delete after 1 month") so others can at least trace where
> memory consumption is high.
>

Yes, I already tried it, and it is indeed very pretty: it looks as the the
consumption is in the usage of parsed vcards. Though I have no idea if it
is even right that kaddressbook should have anything other than (say) the
one string it wants to display - I would have thought that everything else
would be in the Akonadi searchable cache? Anyway, hopefully somebody here
will have an idea.

Anyway, the data is too big for paste.kde.org (silent fail) or
pastebin.com(500 kb limit), so I'll have to make it available by other
means if/as
needed.

Thanks, Shaheed


> _______________________________________________
> KDE PIM mailing list kde-pim at kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list