cancel
Showing results for 
Search instead for 
Did you mean: 

PDF page view size limit

akula_venkat
Champ in-the-making
Champ in-the-making
Hi,

I updated 4MB pdf file to alfresco-comunity 4.2.f, but page preview is not working.
Please suggest me.

Thanks & Regards,
Venkat
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
Any error in your logs? or in front end?

2014-04-29 12:53:45,259  DEBUG [content.transform.ContentTransformerRegistry] [http-bio-8443-exec-2] Searched for transformer:
   source mimetype: application/pdf
   target mimetype: text/plain
   transformers: [PdfBoxContentTransformer, TikaAutoContentTransformer]
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerDebug] [http-bio-8443-exec-2] 18             pdf  txt  Apache Administrator's Handbook - R. Bowen (SAMS, 2002).pdf 1.8 MB – index – SolrIndexer
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2]
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 G    transformer.PdfBox.application/pdf.text/plain.*=-1
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 S    transformer.PdfBox.application/pdf.text/plain.index=-1
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerDebug] [http-bio-8443-exec-2] 18             **a)  [50] PdfBox             3,441 ms
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2]
2014-04-29 12:53:45,260  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 G    transformer.TikaAuto.application/pdf.text/plain.*=-1
2014-04-29 12:53:45,261  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 S    transformer.TikaAuto.application/pdf.text/plain.index=-1
2014-04-29 12:53:45,261  DEBUG [content.transform.TransformerDebug] [http-bio-8443-exec-2] 18               b) [120] TikaAuto           0 ms
2014-04-29 12:53:45,261  DEBUG [content.transform.TransformerDebug] [http-bio-8443-exec-2] 18.1           pdf  txt  <<TemporaryFile>> 1.8 MB PdfBox
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2]
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 G    transformer.PdfBox.application/pdf.text/plain.*=-1
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 S    transformer.PdfBox.application/pdf.text/plain.*=-1
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2]
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 G    transformer.PdfBox.application/pdf.text/plain.*=-1
2014-04-29 12:53:45,262  DEBUG [content.transform.TransformerConfigLimits] [http-bio-8443-exec-2] 3 S    transformer.PdfBox.application/pdf.text/plain.*=-1
2014-04-29 12:53:47,034  DEBUG [content.transform.TransformerLog] [http-bio-8443-exec-2] 18 pdf  txt  INFO <<TemporaryFile>> 1.8 MB 1,773 ms PdfBox
2014-04-29 12:53:47,035  DEBUG [content.transform.AbstractContentTransformer2] [http-bio-8443-exec-2] Completed transformation:
   reader: ContentAccessor[ contentUrl=store://2014/4/29/12/51/c507b9d3-3a46-4e6d-aad5-b9572caefc85.bin, mimetype=application/pdf, size=1953523, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2014/4/29/12/53/1f6a4a64-605b-4908-a6b9-793dc47b7aa1.bin, mimetype=text/plain, size=822917, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=null, timeoutMs=-1, contentWriterNodeRef=null, maxPages=-1, readLimitKBytes=-1, sourceContentProperty=null, use=null, maxSourceSizeKBytes=-1, pageLimit=-1, readLimitTimeMs=-1, includeEmbedded=null}

mitpatoliya
Star Collaborator
Star Collaborator
There must be some other errors as well related to memory. Search with ERROR keyword in your logs.

christopheradam
Champ in-the-making
Champ in-the-making
Can't you <a href="http://www.rasteredge.com/how-to/vb-net-imaging/zoom-online/">zoom in</a> or zoom out the pdf page size to fit the browser for pdf page viewing?