
On Sat, 2005-05-07 at 11:51, Richard Kowalczyk wrote:
Results of comparing zoomed out with regular zoom:
regular: memory percent: 6.6% -> 23.6% buffers/cache: 224 -> 310
zoomed out: memory percent: 5% -> 12.5% buffers/cache: 217 -> 254
The zoomed out numbers are very similar to the numbers for just previewing each file. So it appears that you are correct that the memory problem is in the renderer.
Given this behavior, my guess is a memory leak the tile cache -- rendering a larger image will use more tiles.
It's too bad the output of ps can only give you a ballpark idea; if we could get exact numbers on the amount of memory leaked[1] I could probably confirm this up-front.
The two places to look are src/display/sp-canvas.cpp, and src/display/nr-arena-item.cpp. I dan't remember whether the cache is currently enabled in the latter.
-mental
[1] I do have some additional memory debugging facilities planned, but I probably won't have them finished right away.