[okular] [Bug 388854] Okular uses a very large amount of RAM for caching

Tobias Deiminger bugzilla_noreply at kde.org
Tue Jul 3 05:18:46 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=388854

--- Comment #33 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to Christoph Feck from comment #32)
> > Following this theory, I shouldn't be able to find bitmaps in heap.
> 
> Your theory is wrong. Read QPixmap source.

I did and found
http://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/nativepainting/qpixmap_x11.cpp#n1167
(but tbh am not sure if we take that path).

Also, in a gdb session with same document loaded but no scrolling yet, I can't
find memory chunks large enough to hold contiguous range of memory for page
bitmaps, which should be about 4MB for 1000 x 1000 px at 32 bit depth. The
largest chunk there is about 70kB.

Both made me believe in that theory. Could you explain where I'm wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list