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 bu...@apache.org on 2007/06/21 16:44:48 UTC

DO NOT REPLY [Bug 42714] New: - OutOfMemory exception while using fop 0.93

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42714

           Summary: OutOfMemory exception while using fop 0.93
           Product: Fop
           Version: 0.93
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pcl
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: aamer.chaudhry@gmail.com


Hi,

I am getting OutOfMemory error while generating a PDF file of 1000 pages with 
FOP 0.93. I faced the same problem while using FOP 0.20.5. According to the 
FOP 0.93 specification it process page-sequence element of any size, but it is 
not happening. Is there any way to solve this problem with out increasing the 
heap size of the application server and without splitting it in to multiple 
page sequences?

An early response will be highly appreciated.

Thanks & regards,
Aamer

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42714] - OutOfMemory exception while using fop 0.93

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42714





------- Additional Comments From aamer.chaudhry@gmail.com  2007-06-21 22:46 -------
Created an attachment (id=20382)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20382&action=view)
xsl fo file

Please find attached, xsl fo file as requested.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42714] - OutOfMemory exception while using fop 0.93

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42714





------- Additional Comments From dev@cumiskey.com  2007-06-21 07:56 -------
Please attach the XSL-FO input file that you used when encountering this error.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42714] - OutOfMemory exception while using fop 0.93

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42714





------- Additional Comments From aamer.chaudhry@gmail.com  2007-06-22 03:12 -------
(From update of attachment 20382)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 42714] - OutOfMemory exception while using fop 0.93

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42714


dev@cumiskey.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From dev@cumiskey.com  2007-06-22 06:13 -------
Thanks for the attachment Aamer.

I think the problem you are experiencing is a current limitation of FOP.  FOP is
currently pretty memory hungry on its property use.  This is not probably not
going to change in the near future unless some sort of disk caching is introduced.  

In the meantime to work around this problem I would suggest you do split up your
document into page sequences and try increasing your JVM memory space with the
-Xmx vm option flag.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.