You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Luigi Savini <ls...@akros.it> on 2002/01/07 12:50:52 UTC

How can i optimize memory consumtion?

I need to produce a very large PDF document (about 1300 pages!), no images,
just plain text.
I set JVM memory parameters (Xms and Xmx) but i can't process this document
anyway.

Did anyone try to modify sources writing pages to the output stream
immediatly instead of buffering them into memory?


Luigi_


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


RE: How can i optimize memory consumtion?

Posted by Alex McLintock <al...@yahoo.com>.
I expect the original author split up the 1700 pages document so that it was 
1700 documents each of 1 page. This is doable if you know where the page breaks are,
but not if you have to predict them yourself.

Alex

 --- Cyril Rognon <cr...@objectiva.fr> wrote: 
> Do you mean you achieved this with the FOP0.20.2RC distribution ?
> 
> I am very much interested by your answer :)
> 
> Cyril
> 
> At 12:30 07/01/2002 -0800, you wrote:
> >I had the same problem. I was able to break the document into 1 page long
> >page-sequences and have been able to produce a 1700+ page document that
> >included images with less then 256MB or RAM.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>  

=====
Alex McLintock        alex@OWAL.co.uk    Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
---
SF and Computing Book News and Reviews: http://news.diversebooks.com/
Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/
COMPETITION : http://news.diversebooks.com/article.pl?sid=01/10/08/1947255

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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


RE: How can i optimize memory consumtion?

Posted by Cyril Rognon <cr...@objectiva.fr>.
Do you mean you achieved this with the FOP0.20.2RC distribution ?

I am very much interested by your answer :)

Cyril

At 12:30 07/01/2002 -0800, you wrote:
>I had the same problem. I was able to break the document into 1 page long
>page-sequences and have been able to produce a 1700+ page document that
>included images with less then 256MB or RAM.


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


RE: How can i optimize memory consumtion?

Posted by Michael Crino <mC...@AvantiDestinations.com>.
I had the same problem. I was able to break the document into 1 page long
page-sequences and have been able to produce a 1700+ page document that
included images with less then 256MB or RAM.

-Mike

-----Original Message-----
From: Cyril Rognon [mailto:crognon@objectiva.fr]
Sent: Monday, January 07, 2002 7:17 AM
To: fop-dev@xml.apache.org
Subject: Re: How can i optimize memory consumtion?


Does it really work ?

I have tried with my own documents, but it seems the memory usage  still
depends on the total page number.
Maybe I use something that bugs memory. I would be glad to hear if it works
for you, Luigi.

Cyril

At 06:52 07/01/2002 -0800, you wrote:
>Try breaking your document into multiple page-sequences.
>
>Luigi Savini wrote:
> >
> > I need to produce a very large PDF document (about 1300 pages!), no
images,
> > just plain text.
> > I set JVM memory parameters (Xms and Xmx) but i can't process this
document
> > anyway.


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


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


Re: How can i optimize memory consumtion?

Posted by Cyril Rognon <cr...@objectiva.fr>.
Does it really work ?

I have tried with my own documents, but it seems the memory usage  still 
depends on the total page number.
Maybe I use something that bugs memory. I would be glad to hear if it works 
for you, Luigi.

Cyril

At 06:52 07/01/2002 -0800, you wrote:
>Try breaking your document into multiple page-sequences.
>
>Luigi Savini wrote:
> >
> > I need to produce a very large PDF document (about 1300 pages!), no images,
> > just plain text.
> > I set JVM memory parameters (Xms and Xmx) but i can't process this document
> > anyway.


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


Re: How can i optimize memory consumtion?

Posted by Matt Savino <ma...@synergizethis.com>.
Try breaking your document into multiple page-sequences.

Luigi Savini wrote:
> 
> I need to produce a very large PDF document (about 1300 pages!), no images,
> just plain text.
> I set JVM memory parameters (Xms and Xmx) but i can't process this document
> anyway.
> 
> Did anyone try to modify sources writing pages to the output stream
> immediatly instead of buffering them into memory?
> 
> Luigi_
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org

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