RE: OutofMemoryException
HI group, I'm trying to fix the memory snag in the AWT viewer. I experimented with other formats too and found that the memory obstacle also exist (not much as AWT viewer, but it is there) at the Area Tree construction too. Could an experienced FO developer, help me where actually the memory is leaking at the area tree construction phase. I'm also trying with JProfiler and it is not giving any fruitful results. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
OutofMemoryException
Dear group, I have a big fo file, could be around 100 pages. But the driver gives me a outofmemoryexception when I give this file to the renderer. I use AWTRenderer for printing the document. Can't FOP handle big FO documents. Is there a workaround to get around this memory problem. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
Cyril, As far your suggestion, I have made the FO to be a small page sequences (could be around 20 pages per sequence). But, it I'm bugged with this OutofMemoryException. My system has 192Mb RAM. The FO document is made of tables. There will be two tables per page. There are no forward references. Ramana. -Original Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 5:58 PM To: [EMAIL PROTECTED] Subject: RE: OutofMemoryException Ramana, I guess you can find in the list archive that many of us have encountered this memory issue. I have managed to render 50 to 1500 pages documents using a machine with 256 Mo RAM . When you want to do that, you have to allow your JVM to use a large amount of memory. It can be tricky in windows environnement when you want to use more than the max RAM you have. You have to let W98 or WinNT or Win2K use some virtual memory. This should not trigger any blue screen of death what is your document made of ? if you have some well known page break, you should make a page sequence change there. The memory is happy with short page sequences as for this implementation of FOP (meaning 0.20.x). Again, search for the advice in the archive, it has been said many times : short page sequences, jvm memory setting, avoid forward reference when you can. Good luck Cyril At 16:45 25/07/2002 +0530, you wrote: This shows a blue screen, if I terminate the Java program in the middle with Ctrl-C option. The system showing a fatal error with the Ctrl-C termination. Ramana. -Original Message- From: Jochen Deubner [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:19 PM To: [EMAIL PROTECTED] Subject: Re: OutofMemoryException Hi, it IS capable of rendering large documents. Out of Memory exception ist just caused by standard JVM Memory assignment of 64M. Just enlarge the memory for the JVM with parameter -Xmx256m (256m for 256Megs). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
Cyril, I'm sure that I don't have any forward references and page footers. What I have in the page sequence is a static text , some blocks followed by a table. The JDK i use is 1.4. What could be the problem and can u suggest a solution.. Ramana. -Original Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 7:29 PM To: [EMAIL PROTECTED] Subject: RE: OutofMemoryException Ramana, I have a 256 Mo Ram machine that uses JVM -Xms512m -Xmx512m and it runs fine. I admit that JVM memory settings gives some weird results sometimes. What JVM are you using ? I have seen tremendous performance upgrade when we went from 1.2 to 1.3. Even better with last 1.4 under Win2K. Are you sure you have no forward reference ? like some page x of y page footer ? Cyril At 19:00 25/07/2002 +0530, you wrote: Cyril, As far your suggestion, I have made the FO to be a small page sequences (could be around 20 pages per sequence). But, it I'm bugged with this OutofMemoryException. My system has 192Mb RAM. The FO document is made of tables. There will be two tables per page. There are no forward references. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
No Louis, It is saying java.lang.OutOfMemoryError in the Driver.render(...) statement. If, I print some pages below than 70, it is fine. But, if I try more than 70, the OutOfMemoryError. Ramana. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:23 PM To: [EMAIL PROTECTED] Subject: RE: OutofMemoryException Ramana: Is it dumping out FOP error messages even though the report seems to be working? I think these errors can be related to overflows within your context areas which I have seen posted as causing increased memory consumption. -Lou RamanaJV [EMAIL PROTECTED] on 07/25/2002 10:42:32 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: OutofMemoryException Cyril, I'm sure that I don't have any forward references and page footers. What I have in the page sequence is a static text , some blocks followed by a table. The JDK i use is 1.4. What could be the problem and can u suggest a solution.. Ramana. -Original Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 7:29 PM To: [EMAIL PROTECTED] Subject: RE: OutofMemoryException Ramana, I have a 256 Mo Ram machine that uses JVM -Xms512m -Xmx512m and it runs fine. I admit that JVM memory settings gives some weird results sometimes. What JVM are you using ? I have seen tremendous performance upgrade when we went from 1.2 to 1.3. Even better with last 1.4 under Win2K. Are you sure you have no forward reference ? like some page x of y page footer ? Cyril At 19:00 25/07/2002 +0530, you wrote: Cyril, As far your suggestion, I have made the FO to be a small page sequences (could be around 20 pages per sequence). But, it I'm bugged with this OutofMemoryException. My system has 192Mb RAM. The FO document is made of tables. There will be two tables per page. There are no forward references. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
Lou is right. could you tell us what FOP outputs when you use the debug mode ? (-d option in command line). Cyril At 10:53 25/07/2002 -0400, you wrote: Ramana: Is it dumping out FOP error messages even though the report seems to be working? I think these errors can be related to overflows within your context areas which I have seen posted as causing increased memory consumption. -Lou - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: OutofMemoryException
To attack the problem: o split the job into 2 steps: - XSL transformation writes XSL:FO to a file - FOP formats the file o use another renderer: text e.g. o vary the input - reduce the volume: when does it blow up? - eliminate distinct elements You will pretty soon see the source of the troubles. Hansuli Anderegg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
OutofMemoryException
I have generated the XSL:FO into a file. I have used the FOP -d option and pasted the debug messages thus got in the attached file temp. I can even send the FO file individually to test the load, since the mail to the mailing test bounces with that attachment. After these error messages, finally the saying in my DOS prompt. Exception in thread main java.lang.OutOfMemoryError I have also set the Driver for PCLRenderer, but the same problem. test Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
I have had some similar problem with one document : Some hyphenated text in a cell that was on two rows (row span) : FOP warned me about some I cannot hyphenate!. I have not seen this with small documents (bellow 500 pages) but with large ones FOP went on an infinite loop. I did exactly like Hansuli Anderegg is telling you : tried to noarrow the problem by lowering the FO size and hard testing the troubleshooting part. I know it is not some magic method that will help you to solve your problem in twelve seconds but this is the best we have. You have to try with debug on. Good luck. Cyril At 20:22 25/07/2002 +0530, you wrote: No Louis, It is saying java.lang.OutOfMemoryError in the Driver.render(...) statement. If, I print some pages below than 70, it is fine. But, if I try more than 70, the OutOfMemoryError. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
Yep , I have narrowed in on the problem somewhat. Followed Hansuli Anderegg and found that the problem is with AWTRenderer itself, with PDF and TXT, no OutOfMemory. Now, I request the group to tell me whether there are any PDF viewers, that I can use in my JavaApplication to show the thus generated output. Please, help me Ramana. -Original Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:53 PM To: [EMAIL PROTECTED] Subject: RE: OutofMemoryException I have had some similar problem with one document : Some hyphenated text in a cell that was on two rows (row span) : FOP warned me about some I cannot hyphenate!. I have not seen this with small documents (bellow 500 pages) but with large ones FOP went on an infinite loop. I did exactly like Hansuli Anderegg is telling you : tried to noarrow the problem by lowering the FO size and hard testing the troubleshooting part. I know it is not some magic method that will help you to solve your problem in twelve seconds but this is the best we have. You have to try with debug on. Good luck. Cyril At 20:22 25/07/2002 +0530, you wrote: No Louis, It is saying java.lang.OutOfMemoryError in the Driver.render(...) statement. If, I print some pages below than 70, it is fine. But, if I try more than 70, the OutOfMemoryError. Ramana. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OutofMemoryException
Now, I request the group to tell me whether there are any PDF viewers, that I can use in my JavaApplication to show the thus generated output. There is a PDF bean on the Adobe web site that I used successfully some time ago. I think it supports PDF features including PDF 1.1. Hope this helps, Arnd Beissner -- Cappelino Informationstechnologie GmbH Arnd Beißner Bahnhofstr. 3, 71063 Sindelfingen, Germany Email: [EMAIL PROTECTED] Phone: +49-7031-463458 Fax: +49-7031-463460 Mobile: +49-173-3016917 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]