memory consumption problem as collections get bigger

Doruk Fisek dfisek at fisek.com.tr
Thu Oct 30 00:31:24 MDT 2008


Wed, 29 Oct 2008 23:23:59 -0700, Robby Stephenson
<robby at periapsis.org> :

> A 16 MB XML text file is pretty huge. How many entries?
~9000 albums.

I'm not saying it's small but even if you load the whole 16 MB file to
RAM, why does it take up so much space?

> How are you measuring the memory usage? The virtual column in top
> includes all the KDE libraries, etc. 
> I have a test file with 10k entries that's 5 mb unzipped. The shared
> column in top shows 20 m usage.
My file is 1.9M, that's 16 MB unzipped. In KDE System Guard's process
table, Vmsize 277988, Vmrss 243480. (I double checked with top command
too).

> > > Are there images in the tc file? That's what really bogs things
> > > down, too.
> > There are none. I know it does, that's why I didn't put any (though
> > I wanted to).
> Are you loading the images at all? I mean, do you have a visible
> column with the images, or using the icon view or anything? It's
> possible the image cache is not working correctly, and the loaded
> pixmaps, etc. aren't being freed, I guess.
No images, no pixmaps, nothing at all.

                   Doruk

--
FISEK INSTITUTE - http://www.fisek.org.tr


More information about the tellico-users mailing list