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).
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.