[Tellico-users] Memory consumption issue

Robby Stephenson robby at periapsis.org
Tue Mar 22 01:05:04 UTC 2016

Hi Valerio,

On 03/21/2016 05:54 AM, Valerio Ricci wrote:
> I am running tellico 2.3.9 under kubuntu 15.10 and I noticed a memory usage issue when browsing my book collection.
> I have a book collection of ca. 650 entries and about 220 of them have cover images.
> The xml file is about 2MB and all the images, stored in a separate folder are about 130MB in total.
> I made the collection some time ago and I started adding the cover images recently.
> To see how many of them where missing I made a filter that follows the following criteria: cover field contains "."
> As expected I end up with my 220 entries listed.
> The problem is that when I click on the newly created filter the memory usage jumps from 44.2 MB to 2.8 GB.
> I suspect this is because the images are loaded into memory (and maybe they are also decompressed from their original .jpg format).

They are loaded and scaled, but they shouldn't be held in memory. Or at 
least, that's not my intent. There's an internal cache, too, that should 
help manage the memory usage.

> While this can be an expected behavior it can be a problem when you have to manage a large collection with many images.
> I don't have all the images to populate all my 650 entries but making a simple proportion I can infer that it will take over 8 GB of ram.

My book collection is a bit smaller, 46MB or so of jpeg images. When I 
create a filter as you describe, my memory usage does jump up by about 
200 MB, but not into GB as you are experiencing. I'll poke at it some.

Just to confirm your setting, your Image Storage is set to "Store images 
in directory relative to data file" ?


More information about the tellico-users mailing list