[ 
https://issues.apache.org/jira/browse/OFBIZ-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542583
 ] 

Adrian Crum commented on OFBIZ-1401:
------------------------------------

Problem description: converting a large xsl-fo file using the embedded FOP 
takes forever to run, sometimes it doesn't finish at all. The entity reference 
report feature I'm trying to add to the Webtools component ran for an hour, 
then I finally gave up and shut it down. Running the same xsl-fo file through 
the command-line version of FOP takes about 15 seconds and produces a perfect 
PDF file.

I tried increasing available memory . I tried using temp files instead of 
rendering to a String. I used the same class methods as the command-line 
version. All of those changes are in the patch. I also tried to run a profiler, 
but I couldn't get it to work.

I give up. I've spent two days trying to get this fixed and I'm at a complete 
loss. If someone can figure out how to get it to run faster, please post a 
patch here and I will resume my work.


> Improve FOP screen renderer
> ---------------------------
>
>                 Key: OFBIZ-1401
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1401
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: entityRefReport.zip, webtools_fop.patch
>
>
> The FOP screen renderer bogs down on large xsl-fo files. Work needs to be 
> done to find a way to speed it up. This issue is intended for collaborative 
> research and discussion.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to