Return-Path: Delivered-To: apmail-xml-fop-user-archive@xml.apache.org Received: (qmail 75395 invoked by uid 500); 18 Oct 2002 20:01:37 -0000 Mailing-List: contact fop-user-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: fop-user@xml.apache.org Delivered-To: mailing list fop-user@xml.apache.org Received: (qmail 75381 invoked from network); 18 Oct 2002 20:01:36 -0000 Message-Id: <5.1.0.14.0.20021018210245.03cb8ec0@pop3.mail.demon.net> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 18 Oct 2002 21:04:20 +0100 To: fop-user@xml.apache.org From: Alex McLintock Subject: Re: OutofMemoryError In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: At 19:15 18/10/02, Mihir Patel wrote: >I am trying to generate a PDF from a using FOP. What i am doing is >querying the database and generating an XML file based on the resultset >and passing that to FOP. This works fine if the number of columns is less >than 10, but if i select any more columns it gives me OutOfMemoryError. I >am sure that the combination of the #of columns and rows that i am >retrieving is causing this. Do you have the stderr stream in the log? What does it show? lots of >>>>>>>>> ? My bet is that the table doesn't fit on the page, and is therefore being pushed to the next page. The table doesn't fit on that page therefore gets pushed to the next page, and so on until it sucks up all the free memory. Try making the columns very thin. Alex Openweb Analysts Ltd, London. Software For Complex Websites http://www.OWAL.co.uk/ Open Source Software Companies please register here http://www.OWAL.co.uk/oss_support/