Bug 688864

Summary: Huge memory usage with Unicode font for PS->PDF transformation
Product: Ghostscript Reporter: Subrahmanyan K.H. <subrahmanyan-h.kalathur>
Component: PDF WriterAssignee: leonardo <leonardo>
Status: NOTIFIED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 8.54   
Hardware: HP   
OS: All   
Customer: 130 Word Size: ---
Attachments: sf_alextest_latin2.ps

Description Subrahmanyan K.H. 2006-08-31 04:17:31 UTC
With our Unicode test PS documents, we are seeing huge memory usage while 
converting it to PDF. We converted it on HPUX 11.11 platform. This problem 
might be there on all the platforms.
These Unicode documents refer to the AndaleMonoWTG fonts provided by Monotype.

We observed more than 150MB memory growth.

We are using the following command for PS->PDF conversion:
/hp/om/bin/gs -I/hp/om/lib/FONTS/Unicode -I/hp/om/lib/FONTS/Soft_Horizons -
I/hp/om/lib/PS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=t.pdf 
sf_alextest_latin2.ps
Comment 1 Subrahmanyan K.H. 2006-08-31 04:19:38 UTC
Created attachment 2445 [details]
sf_alextest_latin2.ps

Unicode PostScript test file used in the test.
Comment 2 Ray Johnston 2006-09-01 08:58:10 UTC
Update to reflect custoemr #130.
Comment 3 Marcos H. Woehrmann 2006-09-04 15:08:11 UTC
I've assigned this bug to Igor since it's likely related to bug #688823 (I
didn't confirm the bug since I don't have a copy of the AndaleMonoWTG font).
Comment 4 leonardo 2006-09-07 05:29:57 UTC
We close this problem as a dup of 688823 because both have same reason and same 
fixes. See 688823 for useful patches and for further comments.
Comment 5 leonardo 2006-09-07 05:32:06 UTC
Current HEAD (with today's fix) reduces the memory consumption to about 40MB. 
That's all what we can do urgently. See bug 688823, bug 688871 and bug 688872 
for further improvements.
Comment 6 leonardo 2006-09-07 05:32:26 UTC

*** This bug has been marked as a duplicate of 688823 ***
Comment 7 Marcos H. Woehrmann 2011-09-18 21:46:51 UTC
Changing customer bugs that have been resolved more than a year ago to closed.