[Poppler-bugs] [Bug 85140] [pdftocairo] Memory leak, memory fills in seconds
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 19 05:12:52 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85140
Adrian Johnson <ajohnson at redneon.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|utils |general
--- Comment #2 from Adrian Johnson <ajohnson at redneon.com> ---
<<
/Type /Pages
/Kids [3 0 R]
/Count 213804087
>>
The PDF claims to have 213804087 pages. Catalog.cc allocates the array of page
pointers and array of page Refs and takes a very long time to initialize both
arrays. I don't see an easy fix. We could dynamically resize the arrays as
pages are accessed so we don't allocate all the memory upfront. But I don't see
the benefit of the additional work, risk of bugs, and slight drop in
performance for the 99.9999% of pdfs that report the correct page size.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141019/2fc545e5/attachment-0001.html>
More information about the Poppler-bugs
mailing list