Hi Ali, I thought that this would be the problem, we had the same and solved it like I described. I've found no way to avoid these "memory eating" of FOP, I'm quite sure there are some instances left open after rendering... The start of the Java VM takes a few seconds, if you are able to start the Vm "just in time" to get the FO-Stream, it should be no problem. For us it works properly even on machines with only 128 Mbyte RAM (where the critical point is about 60 pages...). I found this easier than going through all sources...
Thomas Sporbeck -----Ursprüngliche Nachricht----- Von: ali farahani [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. Juli 2003 06:23 An: [EMAIL PROTECTED] Betreff: RE: Is there anybody out there? Dear Thomas Here is what happens. I have closely watched the memory usage of FOP: I have a report with around 17 pages. One table with 12 columns. I use Velocity to put the data inside the FOP template. When it starts rendering the report (PDF or print preview) it consumes 50 MB. Second run another 50MB, third run another 50 MB , then with 256 MB RAM , when I go for forth run, CRASH BOOM BANG! Out of memeory exception. My users usually use the report during the day ( 7 hours) 10 to 20 times. So even 512 MB RAM workstations get out of memory easily. Running it under another JVM is a good idea but as you know it is not feasible from performance point of view. Ali -----Original Message----- From: Thomas Sporbeck [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 6:35 PM To: [EMAIL PROTECTED] Subject: AW: Is there anybody out there? Does this happen with the first report after starting the Java VM or later on (after some reports have rendered correctly)? Perhaps you may start FOP in a separate VM and exit it after the report has done, that's not ideal for performance but for stability. Thomas -----Ursprüngliche Nachricht----- Von: ali farahani [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 16. Juli 2003 15:55 An: [EMAIL PROTECTED] Betreff: Is there anybody out there? To all FOP developers The out of memory problem of FOP is getting critical for our company . So this is an offer for a FOP developer who can fix this problem. If anyone of you can fix this problem please contact me and we can talk about the offer. We are open for the price. Best Regards Ali Farahani --------------------------------------------------------------------- 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]