xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Fwd: [FOP v.1] PrimaryGridUnit class retains too much memory
Date Fri, 27 Jan 2012 08:14:18 GMT
Hi,

did you tried FOP latest trunk (or nightly built)? There is some
performance improvement.
Note that table is memory hungry, and unless you need it to layout
arrays, perhaps you can tweak your XSLT to use alternative fo elements,
depending on what your document contains.

Le 26/01/2012 15:12, Neliya Nedoseka a écrit :
> Good day
> 
> I've got a real problem with server memory using FOP (I've read FOP
> Memory paragraph on the web-site, but it didn't solve the issue )
> So, please, help me to unserstand memory usage in fop library.
> 
> /Situation description:/
> I've got a fop library v.1.0. I use it to convert xml file to pdf.
> The input file is about 5-10 Mb, the result file is 500 Kb (300 pages).
> The document is simple and does not have forward references.
> Java heap space is 1Gb. And transformation process take 50% from that heap.
> According to the heap dump there are 20 000 objects
> of *org.apache.fop.fo.flow.table.PrimaryGridUnit* that retain about
> 300Mb (real usage 20 Mb).
> 
> /Question:/
> Why does this class retain so much memory?
> Is it possible to reduce memory usage for described situation?
> 
> Thanks
> 
> -- 
> Best regards,
> Nedoseka Neliya

-- 
Pascal

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


Mime
View raw message