xrestop and Amarok's pixmap usage

Maximilian Kossick maximilian.kossick at googlemail.com
Sun Feb 7 13:11:19 CET 2010


On Sun, Feb 7, 2010 at 1:09 PM, Mark Kretschmann <kretschmann at kde.org> wrote:
> Ahoy,
>
> Thiago gave me the tip to try "xrestop" (tool for showing X-Server
> memory usage), as I was wondering what's making my X-Server use so
> much memory. The result is a bit worrying:
>
>
> res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier
> 1600000    86    3    0  170  613    21490K     16K  21507K 10785 kwin
> 2c00000    33    4    0  323  455    14912K     11K  14924K 26552
> Telemann - Tafelmusik 1 Em  ::  Amarok
>
>
> So, Amarok uses a huge amount of pixmaps. I suppose it could be
> interesting to check sometime if we can reduce this amount a bit, if
> we want to conserve resources...
>

change Meta::Album from using QPixmap to QImage. I've seen at least
one crash that was caused by accessing Meta::Album::image in a non-GUI
thread.


More information about the Amarok-devel mailing list