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

Maruan Sahyoun commented on PDFBOX-4776:
----------------------------------------

[~TP3099] this is a very generic question without detailed information. Which 
memory settings do you have? Do you parse the XML into a DOM or do you use a 
streaming parser? Are there a lot of images? How do you generate the PDF 
content? ....

At the end - it could be that you have to give the JVM more memory.

Also it might be worth looking at Apache FOP if you generate PDFs from XML as 
it provides typesetting capabilities, headers and footers, templates, tables ...

Please also note that this is a bug tracker. Generic questions are better asked 
on the users mailing list. None of the information you provide shows that there 
is a bug in PDFBox. Having said that we are happy to help - but without any 
specifics it's impossible. 

BR
Maruan



> OutofMemory for more than 300 input data
> ----------------------------------------
>
>                 Key: PDFBOX-4776
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4776
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.8
>            Reporter: Tejas
>            Priority: Major
>         Attachments: Capture.PNG
>
>
> When creating large file from XML i.e. large data file creates out of memory 
> issue. 
>  
> tested greater than 300 MB xml file data. Works as charm under 300 MB file 
> and takes under 8 mins to generate PDF
>  
> Need to run at least 500 MB file



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to