You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2013/05/06 22:18:16 UTC

[jira] [Commented] (PDFBOX-1524) Error with large Multipage-TIFF Files to PDF conversion

    [ https://issues.apache.org/jira/browse/PDFBOX-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650065#comment-13650065 ] 

Maruan Sahyoun commented on PDFBOX-1524:
----------------------------------------

Hi Kai Oliver,

sorry for coming back so late. Did you find a solution for you issue? If not could you share a small snippet of how you are adding the images to the pdf? Could you share a sample image with us?

BR
Maruan
                
> Error with large Multipage-TIFF Files to PDF conversion
> -------------------------------------------------------
>
>                 Key: PDFBOX-1524
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1524
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>         Environment: Ubuntu Linux 12.04 
> OpenJDK runtime
>            Reporter: Kai Oliver Quambusch
>            Priority: Critical
>
> Hey Guys!
> I've got an issue with PDFBox.
> I want to create a PDF about, let's say, 100 pages and every page contains
> an Image (I got the images from a .tiff file and decoded them to PNG).
> After about fifty pages I get an OutOfMemoryException from my Java runtime and
> the application terminates -  do you have an idea how I get rid of this? I tried for days
> to find a useable solution, but it's not that successive as I expected. 
> I don't want to reserve 2GiB of RAM space just for a Tiff to PDF conversion, so have
> you any ideas how I could continue my work?
> I already tried the .saveIncremental() methods, looked for page compression, extended the
> Heapspace with -Xmx1024M  and did a few other things but it still isn't working.
> It'd be great to hearing from you, thank you in advance!
> Regards,
> Kai Oliver

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira