You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Yash Bhargava (Jira)" <ji...@apache.org> on 2024/11/19 16:33:00 UTC
[jira] [Reopened] (FOP-3212) While trying to generate and download pdf file's heap memory is getting exhausted
[ https://issues.apache.org/jira/browse/FOP-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yash Bhargava reopened FOP-3212:
--------------------------------
Adding <simple-line-breaking>true</simple-line-breaking> helped in improving the performance significantly, however the issue is re-captured in the application, with the logs in the attached test file.
> While trying to generate and download pdf file's heap memory is getting exhausted
> ---------------------------------------------------------------------------------
>
> Key: FOP-3212
> URL: https://issues.apache.org/jira/browse/FOP-3212
> Project: FOP
> Issue Type: Bug
> Environment: Oracle Solaris on SPARC (64-bit)
> Reporter: Yash Bhargava
> Priority: Major
> Attachments: MAT - dominator_tree - sort Retaine.txt, PNG_PROD_OBDXA_2_SERVER2.zip
>
> Original Estimate: 672h
> Remaining Estimate: 672h
>
> Upon analyzing the thread dump file using the Memory Analyzer Tool (MAT), it was observed that the class `org.apache.fop.layoutmgr.inline.LineLayoutManager$Paragraph` was occupying the largest portion of heap memory. Specifically, this class used approximately 1.5 GB per thread, with around 20 such threads present in the system.
> As this component is managed by the Apache™ FOP Project, we would require to raise this with you on priority.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)