You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Pedro Costa Silva <pj...@criticalsoftware.com> on 2017/04/21 17:20:35 UTC

Help needed!

HI!

I need some help with a pdfbox issue! I don´t know if this is a bug or not! I´m using pdfbox to transform pdf pages to image, but since I can´t increase de xmx heap size due to client limitations, I made a method to cancel when it founds a big image inside a pdf! But since then my app crashes on jpeg2000 and jbig, and yes, I have the maven dependencies correct! (but i´m using maven bundle plug in and felix OSGi!) I have raised a sof issue, if you need more information!

http://stackoverflow.com/questions/43493106/osgi-with-maven-bundle-plugin-not-loading-library

I would appreciate any help!

Thank you in advance!

Pedro Costa e Silva
CRITICAL Software

pedro.silva@criticalsoftware.com



[cid:32B6F301-1329-4294-862B-8F1CBCBE3DC9]


Parque Industrial de Taveiro, Lote 48
3045-504 Coimbra
T. +351 239 989 100
www.criticalsoftware.com<http://www.criticalsoftware.com>

UK | PORTUGAL | GERMANY | USA | BRAZIL





DISCLAIMER
This e-mail and its attachments may contain confidential information for exclusive use of its recipient. It is your responsibility to carry out appropriate virus and other checks to ensure that this message and any attachments do not affect your systems / data. If you are not the intended recipient you must not use, distribute or reproduce this e-mail and you must notify the sender and delete the entire email. Any unauthorized use, dissemination, distribution or copying of this message and its attachments is strictly prohibited. Thank you.







Re: Help needed!

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Am 21.04.2017 um 19:20 schrieb Pedro Costa Silva:
> HI!
> 
> I need some help with a pdfbox issue! I dont know if this is a bug or not! Im 
> using pdfbox to transform pdf pages to image, but since I cant increase de xmx 
> heap size due to client limitations, I made a method to cancel when it founds a 
> big image inside a pdf! But since then my app crashes on jpeg2000 and jbig, and 
> yes, I have the maven dependencies correct! (but im using maven bundle plug in 
> and felix OSGi!) I have raised a sof issue, if you need more information!
> 
> http://stackoverflow.com/questions/43493106/osgi-with-maven-bundle-plugin-not-loading-library
Doesn't seem to be related to PDFBox, it sounds like a maven config and/or OSGI 
issue.

Andreas
> I would appreciate any help!
> 
> Thank you in advance!
> 
> Pedro Costa e Silva
> 
> CRITICAL Software
> 
> pedro.silva@criticalsoftware.com
> 
> cid:32B6F301-1329-4294-862B-8F1CBCBE3DC9
> 
> 
> 
> Parque Industrial de Taveiro, Lote 48
> 
> 3045-504 Coimbra
> T. +351 239 989 100
> www.criticalsoftware.com <http://www.criticalsoftware.com>
> 
> UK | PORTUGAL | GERMANY | USA | BRAZIL
> 
> 	
> 
> 
> DISCLAIMER
> This e-mail and its attachments may contain confidential information for 
> exclusive use of its recipient. It is your responsibility to carry out 
> appropriate virus and other checks to ensure that this message and any 
> attachments do not affect your systems / data. If you are not the intended 
> recipient you must not use, distribute or reproduce this e-mail and you must 
> notify the sender and delete the entire email. Any unauthorized use, 
> dissemination, distribution or copying of this message and its attachments is 
> strictly prohibited. Thank you.
> 
> 	
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: Help needed!

Posted by Viraf Bankwalla <vi...@yahoo.com.INVALID>.
I had a similar problem where after converting a number of images I would get an OOM exception.  This was resolved by disabling the caching of images. See PDFBOX-3700

- viraf

      From: Pedro Costa Silva <pj...@criticalsoftware.com>
 To: "users@pdfbox.apache.org" <us...@pdfbox.apache.org> 
 Sent: Friday, April 21, 2017 1:48 PM
 Subject: Help needed!
   
 <!--#yiv0794298992 _filtered #yiv0794298992 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0794298992 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv0794298992 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv0794298992 #yiv0794298992 p.yiv0794298992MsoNormal, #yiv0794298992 li.yiv0794298992MsoNormal, #yiv0794298992 div.yiv0794298992MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv0794298992 a:link, #yiv0794298992 span.yiv0794298992MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv0794298992 a:visited, #yiv0794298992 span.yiv0794298992MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv0794298992 span.yiv0794298992EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv0794298992 .yiv0794298992MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv0794298992 {margin:70.85pt 3.0cm 70.85pt 3.0cm;}#yiv0794298992 div.yiv0794298992WordSection1 {}-->HI!    I need some help with a pdfbox issue! I don´t know if this is a bug or not! I´m using pdfbox to transform pdf pages to image, but since I can´t increase de xmx heap size due to client limitations, I made a method to cancel when it founds a big image inside a pdf! But since then my app crashes on jpeg2000 and jbig, and yes, I have the maven dependencies correct! (but i´m using maven bundle plug in and felix OSGi!) I have raised a sof issue, if you need more information!    http://stackoverflow.com/questions/43493106/osgi-with-maven-bundle-plugin-not-loading-library    I would appreciate any help!    Thank you in advance!     
| Pedro Costa e Silva CRITICAL Software 

pedro.silva@criticalsoftware.com  |
|    |
|  
| 

Parque Industrial de Taveiro, Lote 48 3045-504 Coimbra
T. +351 239 989 100 
www.criticalsoftware.com

UK | PORTUGAL | GERMANY | USA | BRAZIL  |   |
|    |
| 
DISCLAIMER
This e-mail and its attachments may contain confidential information for exclusive use of its recipient. It is your responsibility to carry out appropriate virus and other checks to ensure that this message and any attachments do not affect your systems / data. If you are not the intended recipient you must not use, distribute or reproduce this e-mail and you must notify the sender and delete the entire email. Any unauthorized use, dissemination, distribution or copying of this message and its attachments is strictly prohibited. Thank you.  |

       |  |