Dear Ali,

I know fop is very memory intensive but what you are
saying is a memory leak. We also use fop to generate
PDF reports using servlets inside tomcat. It is
generating reports of size 20 pages with ease on a
256mb RAM machine with -Xmx set to 128m. It takes upto
90mb for generating a pdf of 25 pages. But when I
generate it again it is releasing memory.

I doubt there is a leak in the driver code embedding
FOP. Please check on it or if possible try to publish
it. Somebody might help. 

Regards,
Srinivas.

--- ali farahani <[EMAIL PROTECTED]> wrote:
> 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]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to