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

Reply via email to