Red Hat Bugzilla – Bug 89552
huge memory leak
Last modified: 2007-04-18 12:53:16 EDT
I see a huge memory-leak in
Xpdf 1.00 - Red Hat Linux 7.3
Xpdf 2.01 - Red Hat Linux 9
upon reading the following document:
With each page, memory consumption increases around 10-30 MiB. Bug-report sent
to author on Sat, 19 Apr 2003 21:00:28 +0200. No reaction yet.
Version-Release number of selected component (if applicable):
2.01-8 and 1.00-5
Steps to Reproduce:
1. xpdf linux_vs_windows_tco_comparison.pdf
2. press "page down"
3. repeat step 2 till at least page 5
4. observe memory usage
it seems that the pdf file is broken. xpdf linux_vs_windows_tco_comparison.pdf
Error (0): PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Do you have a correct pdf file for testing?
I don't get such errors, assuming the file is not damaged. It is a fairly recent
download. Acrobat Reader displays it without similar symptoms. pdf2ps converts
it without trouble.
$ md5sum linux_vs_windows_tco_comparison.pdf
$ pdfinfo linux_vs_windows_tco_comparison.pdf
Creator: StarOffice 6.0
Producer: AFPL Ghostscript 7.03
CreationDate: Mon Apr 29 10:56:40 2002
Page size: 595 x 842 pts (A4)
File size: 1904623 bytes
PDF version: 1.2
The autor is aware this bug and he said to me that he is working on a new
rasterizer, and a new font system, so it will be fixed in next upstream.