Hi Daniel, I'm getting the same problem when loading an xml File that is round about 30MB, have you found a solution for your problem yet?
-----Original Message----- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: 29 May 2006 06:17 AM To: FOP Users Mailing List Subject: OutOfMemoryError: Java heap space Hi, folks. I am working on improving our application by making it able to cope with larger text than it can currently handle. My test document is some 36MB of text, which is really just the same sentence over and over. We first generate the document as HTML (for simpler templating), and this part works, the resulting HTML being around 39MB. We then convert the HTML to XSL-FO, and that part is working as well, the resulting FO being around 45MB. The resulting XSL-FO looks a little like this: . (skipping the top of the file.) . . This is a test file with an awful lot of text.<fo:block/> This is a test file with an awful lot of text.<fo:block/> . . . (skipping the bottom of the file.) (What it's doing is simulating a <br/>. I got that idea a long time ago from another post on this mailing list.) Anyway, when I get to the part where the FO is rendered to PDF, FOP throws an OutOfMemoryError. Is FOP trying to keep the entire document in memory, and if so, is there some way around it? Daniel -- Daniel Noll Nuix Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://www.nuix.com.au/ Fax: +61 2 9212 6902 This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this message or attachment is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Caution and Disclaimer This message and/or any attachment thereto ("the message") contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services ("the Group") to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
