Re: Out of Memory Error !!
The problem is probably your page-number-citation that looks up the last page. This is well known to have impact on memory usage, because FOP can render the first page only after the last page has been setup. It has to wait until it knows how many pages your page-sequence has. Take out the page-number-citation and look if the problems go away. I'm pretty sure they will. That means you might have to live with "page x" instead of "page x of y" for now. On 09.05.2002 11:18:59 Abhijat Upadhyay wrote: > hi there !! > > i am sending u the code of my XSL and XML... though the code might be > slightly > big but if u r able to find a solution to it then nothing like it... this set > of XSL and XML should be able to print around 300 - 500 pages but currently > it > prints hardly 40... > > THE XSL CODE: - > Page # of select="$page-count"/> > > > THE XML CODE: - > > List of Books > > Discovery of India > Pandit Jawaharlal Nehru > Tata McGraw Hill > > > 1-23-456-7890 > > Tells about history of India right from its birth > > ... mutiple book tags are there and finally the closing tag i.e. > > > Currently i want to print around 3000 - 4000 rows of in a table in the PDF... > but the total page count does not go beyond 40... actually it should go to > 140... similarly if the number of rows increases then the number of pages > will > also increase. > NOTE: - this is just anexample XML. Cheers, Jeremias Maerki
RE: Out of Memory Error !!
hi there !! i am sending u the code of my XSL and XML... though the code might be slightly big but if u r able to find a solution to it then nothing like it... this set of XSL and XML should be able to print around 300 - 500 pages but currently it prints hardly 40... THE XSL CODE: - http://www.w3.org/1999/XSL/Transform"; version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format";> http://www.w3.org/1999/XSL/Format";> Page # of Title Author Publisher ISBN Comments THE XML CODE: - List of Books Discovery of India Pandit Jawaharlal Nehru Tata McGraw Hill 1-23-456-7890 Tells about history of India right from its birth ... mutiple book tags are there and finally the closing tag i.e. Currently i want to print around 3000 - 4000 rows of in a table in the PDF... but the total page count does not go beyond 40... actually it should go to 140... similarly if the number of rows increases then the number of pages will also increase. NOTE: - this is just anexample XML.
Re: Out of Memory Error !!
Hi Abhijit, Looks like it might be in a recursive mode or something. I am not totally aware of this kind or problem ,but how big is your document ? Are you using the combination of xml and xsl filer or just the fo file to print out in PDF? naveen Abhijat Upadhyay @patni.com> cc: Subject: Out of Memory Error !! 05/08/02 02:44 PM Please respond to fop-user hi there !! i am getting out of memory error when i try to process a very large document containing a single fo:page-sequence tag a single fo:table tag. i have gone thru the mailing list looking for some solution to this problem but though the problems are similar i am not able to figure out the soluition in my case... as i cannot have more than one page-sequence to display my actual data... i want to know what can be done to get rid of this problem if some how i am able to break this page-sequence then i will be able to get rid of this problem... kindly help me out with this problem as i am a novice in with this FOP stuff.. if any further info is required then send a mail a [EMAIL PROTECTED] thanx lotza cheers !! Abhijat Upadhyay