← Back to team overview

qpdfview team mailing list archive

Re: [Question #207821]: DocumentView class in an embedded device.

 

Question #207821 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/207821

Adam Reichold posted a new comment:
After thinking about this some more, are you absolutely sure that the
memory usage of the PageItem classes themselves in contrast to the
temporary image buffers PageItem::m_image or the memory usage of the
SplashOutputDev used by the poppler-qt4 frontend is the actual problem?

(One user reported that certain documents drive the SplashOutputDev to
consume several hundred megabytes of memory leading to enormous memory
consumption of both qpdfview and Okular whereas Evince was fine since it
uses the CairoOutputDev...)

You should be able to find this out if you replace lines 807 to 817 in pageitem.cpp by something like
"image = QImage(1, 1, QImage::Format_ARGB32); image.fill(Qt::white);" in a current version qpdfview's trunk to suppress rendering.

-- 
You received this question notification because you are a member of
qpdfview, which is an answer contact for qpdfview.