more memory problems (1.2.4)
Robby Stephenson
robby at periapsis.org
Wed Nov 1 00:04:55 MST 2006
On Tuesday 31 October 2006 14:28, Alfredo Quesada wrote:
> As you remember I allways post with memory related problems xD
And I usually say that 10 meg PNG images are just not part of Tellico's
intended usage. :)
> We can see tellico's memory consumption growing forever (I had to stop
> it), and that's very strange, considering that I don't save images inside
> the collection file.
I can try to be less conservative about holding on to the image pointers, I
suppose. The growing memory usage would seem to indicate another memory
leak, I'll have another go at running valgrind through everything.
> I tried to change cache's size by modifying lines 36
> and 37 from imagefactory.cpp (from 10 to 40 mb) and then recompiling it,
> but I can't see this change when running tellico after this modification
The image cache size is initially set by lines 36, as you see, but is later
changed to match what is in the config file. So you could add
ImageCacheSize=20971520
in the [General Options] section of your tellicorc file to increase the
cache size without recompiling.
> P.D.: you told something about switching from XML format in a previous
> mail. which choice are you thinking about?
SQL. And it would be an open question about storing the images in the DB.
Obviously, your usage pattern would make that a bad idea.
Robby
More information about the tellico-users
mailing list