[gs-bugs] [Bug 689933] New: Memory allocation with high resolution

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Jul 2 14:01:32 PDT 2008


           Summary: Memory allocation with high resolution
           Product: Ghostscript
           Version: 8.62
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: Images
        AssignedTo: alex.cherepanov at artifex.com
        ReportedBy: leonidas at luciddream.com
         QAContact: gs-bugs at ghostscript.com


I have one more problem regarding to VM usage with high resolution output. I
tried to process pdf and had follows:

C:\gs\gs8.62\lib>..\bin\gswin32c.exe -dSAFER -dBATCH -dNOPAUSE -sDEVICE=tiff32nc
 -r2540 -sOutputFile=d35.tif D35-100-A-28963303-MOR9.pdf
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1

   **** Warning: File encountered 'VMerror' error while processing an image.

Ghostscript didn't generate output file because of 2gb output file size
limitation, but I saw output of my own device (which doesn't have this
limitation) and some images was lost.

I built debug version of Ghostscript and went inside with debugger. I found that
problem file contains type3 image. Ghostscript creates image8 memory device to
render this image. It tries to allocate about 1.6 Gb of memory for this device
and doesn't get this memory. It doesn't try to create command list as rendering
device (also base device for tiff32nc was command list).

Do you have any patches/suggestions to fix this problem?

Best regards

Leonid Lukomskij

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the gs-bugs mailing list