You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by sripathi <sr...@gmail.com> on 2015/10/19 16:22:53 UTC
Unable to Process Large Pragraph
Hi All,
My document having a large paragraph(nearly 100 pages), FOP2.0 is unable to
process this document.I know, i shouldn't give this much large para, but it
is user requirement. Fop throwing OOM(Out Of Memory Exception), when it is
calculating the breaking points for this large paragraph. Is there any XSL
option is there to resolve this.
Regards,
Sripathi
--
View this message in context: http://apache-fop.1065347.n5.nabble.com/Unable-to-Process-Large-Pragraph-tp42972.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Unable to Process Large Pragraph
Posted by Andreas Delmelle <an...@telenet.be>.
> On Mon, Oct 19, 2015 at 4:22 PM, sripathi <sr...@gmail.com> wrote:
> Hi All,
>
> My document having a large paragraph(nearly 100 pages), FOP2.0 is unable to
> process this document.I know, i shouldn't give this much large para, but it
> is user requirement. Fop throwing OOM(Out Of Memory Exception), when it is
> calculating the breaking points for this large paragraph.
> Is there any XSL option is there to resolve this.
> On 19 Oct 2015, at 16:40, Luis Bernardo <lm...@gmail.com> wrote:
>
> I assume you are putting a very large string inside a fo:block. Break the string into pieces and put a </fo:block><fo:block> in between the pieces.
>
What Luis said is the only viable fix for now.
Another way to achieve the same, and which basically comes down to the same thing, but may be easier to implement, would be to insert forced linefeeds at certain places in the text. Make sure that the linefeed-treatment property is set to "preserve" on the fo:block.
At any rate, fixing this issue within FOP itself is definitely not something to expect in the short term, as it would require a rather invasive overhaul of the line/page breaking interaction.
HTH!
KR
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Unable to Process Large Pragraph
Posted by Luis Bernardo <lm...@gmail.com>.
I assume you are putting a very large string inside a fo:block. Break the
string into pieces and put a </fo:block><fo:block> in between the pieces.
On Mon, Oct 19, 2015 at 4:22 PM, sripathi <sr...@gmail.com> wrote:
> Hi All,
>
> My document having a large paragraph(nearly 100 pages), FOP2.0 is unable
> to
> process this document.I know, i shouldn't give this much large para, but it
> is user requirement. Fop throwing OOM(Out Of Memory Exception), when it is
> calculating the breaking points for this large paragraph. Is there any XSL
> option is there to resolve this.
>
> Regards,
> Sripathi
>
>
>
> --
> View this message in context:
> http://apache-fop.1065347.n5.nabble.com/Unable-to-Process-Large-Pragraph-tp42972.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>