[cups.bugs] Re: [HIGH] STR #1850: GS using 800MB of VSZ memory for a 15KB eps file

Thomas Heiserowski th.heiserowski at gmail.com
Thu Jul 20 17:02:21 PDT 2006


[STR New]

I still have that problem, of course. Now I can reproduce it with a PDF
exported from OpenOffice 2.

I used strace this time and it seems to be connected to fonts. This is
where gs halts:

munmap(0xb7994000, 4096)                = 0
open("/usr/share/fonts/sharefonts/westslnt.pfb", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=62107, ...}) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=62107, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7994000
_llseek(7, 0, [0], SEEK_CUR)            = 0
_llseek(7, 0, [0], SEEK_SET)            = 0
read(7, "\200\1x\4\0\0%!PS-AdobeFont-1.0: Wester"..., 4096) = 4096
mprotect(0xb775a000, 16384, PROT_READ|PROT_WRITE) = 0
--- SIGTERM (Terminated) ---
+++ killed by SIGTERM +++

I have to kill gs at this point as it starts swapping again.

First, this happend with fonts located in ~/.fonts/. I deleted the
seemingly affected ones and re-run gs. Then it stuck with the one above.

I re-generated the font-cache for my user and system wide using "fc-cache
-f".

Any ideas?

Cheers,
Thomas

Link: http://www.cups.org/str.php?L1850
Version: 8.15.2





More information about the cups-devel mailing list