@Pratyush:

I had to guess/google package names, but running

  sudo apt install libpoppler-cpp-dev poppler-utils liblcms2-2
libfreetype6 fontconfig libjpeg-tools libtiff-tools zlibc libpng-tools

gave:

  The following NEW packages will be installed:
    libjpeg-tools libpoppler-cpp-dev libtiff-tools zlibc


Running

  /usr/bin/time -v /usr/lib/cups/filter/pdftoraster 99 manu sometitle 1
'PageSize=A4 output-format=apple-raster Resolution=600dpi' test48.pdf >
pdftorast.out

after installing these still gives maximum resident set size of close to 7GB 
and takes 16 seconds like before, so no change there.
Trying to print also still takes a very long time.

So pdftoraster's RAM use only explains about half the RAM use I see when 
printing, and it doesn't really explain why printing takes quite so long (10 
minutes printing vs 16 seconds for just pdftoraster), but wouldn't you agree 
that pdftoraster's memory use on its own is already a problem?
Can you reproduce that on your machine by running pdftoraster with the above 
command (might have to replace manu by your username, not sure if it matters)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920190

Title:
  Printing to ipp printer uses multiple GB of ram. pdftoraster and/or
  filter chain selection at fault?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1920190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to