HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Getting HEAP SPACE-OUT OF MEMORY when processing large files › Re: Re: Getting HEAP SPACE-OUT OF MEMORY when processing large files
March 2, 2015 at 18:48
#29245
I am afraid, a streamed or serialized HTML-to-PDF conversion is not possible – a document must be rendered in memory completely before it is converted to PDF. There is always a possibility that at the end of a document there is an HTML tag or a content portion, which would require a complete document re-layouting.