You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ram Krishnamoorthi <ra...@yahoo.com> on 2005/03/04 21:56:06 UTC

Memory Usage when having Large Number ofTables in FO

Hello,
After reading through some threads, I understand there
is memory hogging when there are several tables in the
FO. Are there Memory Leaks when using Tables? I am
using FOP 2.0.5  

I am currently using Tables to keep certain data
together..and because of this a few FOs have over
100-200K tables. I see high Memory Usage of over 1 GB
when converting these FOs.  

Has anyone processed FO Objects with several thousand
Tables in the FO? if so, please let me know your
thoughts/experiences.

Thanks
Ram
 



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Memory Usage when having Large Number ofTables in FO

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Ram Krishnamoorthi wrote:
> Hello,
> After reading through some threads, I understand there
> is memory hogging when there are several tables in the
> FO. Are there Memory Leaks when using Tables? I am
> using FOP 2.0.5  

Well, not exactly memory leaks but tables lock memory
longer than necessary. In most cases memory needed for
layout is released after a page has been completely rendered,
but memory used to compute the layout for table content is
not released until the page sequence containing the table is
completely rendered.

Your options:
- Don't use tables, which might mean losing necessary features.
- Use more page sequences, which may also run against required
  layout features.
- Get the latest code from the FOP CVS maintenance branch,
  which contains a patch for earlier releasing memory hold
  by tables. This might give you run time errors, so test
  carefully and thoroughly

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org