Re: [iText-questions] java.lang.OutOfMemoryError

2011-03-17 Thread Martin Schwartzman
I'm using the 5.0.7-SNAPSHOT. -Original Message- From: Mark Storer [mailto:msto...@autonomy.com] Sent: Thu 3/17/2011 5:42 PM To: Post all your questions about iText here Subject: Re: [iText-questions] java.lang.OutOfMemoryError It looks like JPXDecode (JPEG2000) was added betwee

Re: [iText-questions] java.lang.OutOfMemoryError

2011-03-17 Thread Mark Storer
[mailto:mschwartz...@ittvis.com] Sent: Thursday, March 17, 2011 2:55 PM To: Post all your questions about iText here Subject: Re: [iText-questions] java.lang.OutOfMemoryError I'm testing with a j2c code stream. From: Mark S

Re: [iText-questions] java.lang.OutOfMemoryError

2011-03-17 Thread Martin Schwartzman
I'm testing with a j2c code stream. From: Mark Storer [mailto:msto...@autonomy.com] Sent: Thursday, March 17, 2011 3:06 PM To: Post all your questions about iText here Subject: Re: [iText-questions] java.lang.OutOfMemoryError What format is the image in? IIRC, JPEG files are pretty

Re: [iText-questions] java.lang.OutOfMemoryError

2011-03-17 Thread Mark Storer
mport legalese.Disclaimer; Disclaimer DisCard = null; From: Martin Schwartzman [mailto:mschwartz...@ittvis.com] Sent: Thursday, March 17, 2011 11:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] java.lang.OutOfMemory

[iText-questions] java.lang.OutOfMemoryError

2011-03-17 Thread Martin Schwartzman
The OutOfMemoryError occurs at the cb.addImage(img) line. The image I'm trying to write is about 210,703 KB. I'm running the below code fragment from a Servlet in JBOSS-5.0.1.GA, Itextpdf-5.0.7, and java version "1.6.0_20". I'm wondering if there is a simple fix to this problem like turning str

[iText-questions] java.lang.OutOfMemoryError

2010-11-11 Thread va
hi, i'm trying to create a single pdf adding more existing pdfs. On my pc all works fine, but when the class is executed on the unix server the beavior is different: if the string containing the pdf name to be added is empty then the pdf is added indifferently, whereas on my pc a IOException is th

Re: [iText-questions] java.lang.OutOfMemoryError

2010-01-22 Thread Mike Marchywka
> Date: Fri, 22 Jan 2010 12:14:20 +0100 > From: > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] java.lang.OutOfMemoryError > > Hi > > i hve a problem with a programm using the itext library. > he throws

[iText-questions] java.lang.OutOfMemoryError

2010-01-22 Thread Faraz Fallahi
Hi i hve a problem with a programm using the itext library. he throws me an OutOfMemoryError when he calls upon stamper.close(); (marked by the comment \\erorr). The step before the stamper.close() in the error propagation is the streams.add(stampPageNumbers(getMainReportStream(pageEvents)));(mark

[iText-questions] java.lang.OutOfMemoryError

2010-01-22 Thread Faraz Fallahi
Hi i hve a problem with a programm using the itext library. he throws me an OutOfMemoryError when he calls upon stamper.close(); (marked by the comment \\erorr). The step before the stamper.close() in the error propagation is the streams.add(stampPageNumbers( getMainReportStream(pageEvents)));(mar

Re: [iText-questions] java.lang.OutOfMemoryError while creatingPDfReader

2007-02-13 Thread Suresh
February 12, 2007 7:26 PM > Subject: [iText-questions] java.lang.OutOfMemoryError while > creatingPDfReader > > >> >> Hello, >> >> We are using iText for some pdf manipulation in our application which >> runs >> on IBM WebSphere Application serv

Re: [iText-questions] java.lang.OutOfMemoryError while creatingPDfReader

2007-02-12 Thread Paulo Soares
Use the PdfReader constructor that has a RandomAccessFileOrArray. Paulo - Original Message - From: "Suresh" <[EMAIL PROTECTED]> To: Sent: Monday, February 12, 2007 7:26 PM Subject: [iText-questions] java.lang.OutOfMemoryError while creatingPDfReader > > Hello,

[iText-questions] java.lang.OutOfMemoryError while creating PDfReader

2007-02-12 Thread Suresh
Hello, We are using iText for some pdf manipulation in our application which runs on IBM WebSphere Application server. I am getting java.lang.OutOfMemoryError error while trying to create a PdfReader instance with the following code: PdfReader pdfReader1 = new PdfReader(thisContent); where this

Re: [iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread ravi shankar
Hi Thanks ... That was the error ... The image instance was being created for each page.Rectified itThanksRaviOn 6/20/06, bruno <[EMAIL PROTECTED]> wrote:ravi shankar wrote: > The image size is 213 kb and txt file size is 404 kb ...How many time do you create the image instance?Make sure you creat

Re: [iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread bruno
ravi shankar wrote: > The image size is 213 kb and txt file size is 404 kb ... How many time do you create the image instance? Make sure you create it only once, so that the image data is added to the PDF only once. Anyhow, this is probably not the problem. I am creating documents with 27,000+ pa

[iText-questions] java.lang.outofmemoryerror when converting 64 page txt stream into PDF

2006-06-20 Thread ravi shankar
Hi I have a requirement where I am parsing a 50 mb txt file into many small txt files based on some previously decided separators.While parsing and breaking the file itself I am sending the small txt stream to a PDF Convertor which I have written which converts the TXt stream into PDF file ..  The

RE: [iText-questions] java.lang.OutOfMemoryError in itext

2004-12-17 Thread Jérôme VERITE
; [EMAIL PROTECTED] Objet : RE: [iText-questions] java.lang.OutOfMemoryError in itext   The image is big and has an unpacked size of 19M. You'll need a lot more memory than that if using java.awt.Image.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jérôme VERITE

RE: [iText-questions] java.lang.OutOfMemoryError in itext

2004-12-17 Thread Paulo Soares
iText-questions] java.lang.OutOfMemoryError in itext Hi all,   Using the getInstance (Image image, Color color) method in the com.lowagie.text.Image class, I get an OuOfMemoryError with always the same image, I saved the image to the disk and you can find it attached to

RE: [iText-questions] java.lang.OutOfMemoryError

2004-02-17 Thread Paulo Soares
Title: RE: [iText-questions] java.lang.OutOfMemoryError You posted the wrong program. -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent:   Tuesday, February 17, 2004 17:17 To: Paulo Soares Subject:    RE: [iText-questions

RE: [iText-questions] java.lang.OutOfMemoryError

2004-02-17 Thread Paulo Soares
Title: RE: [iText-questions] java.lang.OutOfMemoryError What program is that? Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent:   Tuesday, February 17, 2004 16:03 To: [EMAIL PROTECTED

[iText-questions] java.lang.OutOfMemoryError

2004-02-17 Thread Frank_Zhou
Hi, I have been using itext txt2pdf for a long time. It is a great!, I am using java 1.1. I tried to convert a big file and got java.lang.OutOfMemoryError massge. Can any one give me help? Thanks, Frank --- SF.Net is sponsored by: Speed S