Bug 54945 - High consume of resources when keeping a text selected in a PDF
Summary: High consume of resources when keeping a text selected in a PDF
Status: RESOLVED DUPLICATE of bug 61042
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 22:05 UTC by Germán Poo-Caamaño
Modified: 2013-03-22 22:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF test case (42.61 KB, application/pdf)
2012-09-14 22:05 UTC, Germán Poo-Caamaño
Details

Description Germán Poo-Caamaño 2012-09-14 22:05:36 UTC
Created attachment 67188 [details]
PDF test case

This bug was reported in GNOME Bugzilla, it seems it was also reported in Red Hat's Bugzilla.

The PDF attached has Type3 fonts.  When the text is selected (and it is kept selected), the consumption of memory increases notoriously.  It depends on scale of the render, though.

For instance, using poppler-glib-demo (master b72c02d1a), with scale 2.0, selecting randomly text for a couple of times and leaving the selection there, it can consume 1GB of memory quickly.

It could be related to https://bugs.freedesktop.org/show_bug.cgi?id=54939.  However, how fast increase the use of memory depends of the file.  So, I am not sure.

The GNOME Bug is https://bugzilla.gnome.org/show_bug.cgi?id=581657#c3
(Notice that there are 2 issues discussed in that bug).
Comment 1 Germán Poo-Caamaño 2013-03-22 22:41:21 UTC
The patch https://bugs.freedesktop.org/show_bug.cgi?id=61042 also solves the issue on this bug.  So, I marking this a duplicated of Bug 61042.

*** This bug has been marked as a duplicate of bug 61042 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.