Re: [iText-questions] OutofMemory error being throw in iText using JasperReports 3.7.0, 4.1.2, or 4.1.3

2011-11-03 Thread Edward W. Rouse
t Cc: Dan Foltz Subject: [iText-questions] OutofMemory error being throw in iText using JasperReports 3.7.0, 4.1.2, or 4.1.3 Good afternoon, I have posted this same problem on the JasperForge forums, located at: http://jasperforge.org/plugins/espforum/view.php?group_id=102 <http://jaspe

[iText-questions] OutofMemory error being throw in iText using JasperReports 3.7.0, 4.1.2, or 4.1.3

2011-11-03 Thread Dan Foltz
Good afternoon, I have posted this same problem on the JasperForge forums, located at: http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=93205 The error is only occurring when I turn on the PDF 508 tags, and I thought that perhaps some additional info may be fo

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 11:47 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > >Please provide the jvm version/supplier, os/vendor, jvm settings, app > server, iText >version, etc. for your environment - we're guessing without > any data. > > * JAVA VERSION (SUN): > > java vers

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
Thank you all for the attention you are paying to my problem. >Please provide the jvm version/supplier, os/vendor, jvm settings, app server, iText >version, etc. for your environment - we're guessing without any data. * JAVA VERSION (SUN): java version "1.6.0_10" Java(TM) SE Runtime Environment

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
Just stole and tweaked this little java program to let you test the memory settings (see below). Compile like: javac MemTest.java Run it like (on Unix with >1.5 JVM): % java MemTest 5 10 // 500MB alloc, 10 times - total 5GB // without options, this runs fine: % java MemTest 5 10

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 10:35 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi all. > > I KNOW the GC run asyncronously, and I know the memory will be freed when > the JVM needs it or when it has some "free time"... > > I told I think that's not a memory issue because: > 1)

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Thimo Seitz
Von: Massimiliano Ziccardi [mailto:massimiliano.zicca...@gmail.com] Gesendet: Mittwoch, 4. März 2009 16:35 An: Post all your questions about iText here Betreff: Re: [iText-questions] OutOfMemory error Hi all. Thank you for your help. I know (i think) how JVM and GCs works. I KNO

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
Hi all. Thank you for your help. I know (i think) how JVM and GCs works. I KNOW the GC run asyncronously, and I know the memory will be freed when the JVM needs it or when it has some "free time"... I told I think that's not a memory issue because: 1) The readers are always set to null after I c

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Klas Lindbäck
|| > On Wed, Mar 4, 2009 at 3:26 AM, Massimiliano Ziccardi > > wrote: > > The only object I take in memory is the PDF reader, that, of > course get closed and recreated (with a new instance) after each > signature. > > That should clean the

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 8:30 AM, Markus Meyer wrote: > Brian Busch schrieb: > > Markus - he included the stack trace on his first post: > > Okay, I missed that, sorry. I missed it the first time too! > java.lang.OutOfMemoryError: Java heap space > > at java.lang.String.toCharArray(String.j

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Markus Meyer
Brian Busch schrieb: > Markus - he included the stack trace on his first post: Okay, I missed that, sorry. > java.lang.OutOfMemoryError: Java heap space > at java.lang.String.toCharArray(String.java:2726) > at com.lowagie.text.pdf.PdfName.(Unknown Source) I agree that it probably really

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 7:16 AM, Markus Meyer wrote: > It's entirely possible that something is just throwin an out of memory > exception when there actually is enough memory available. > > I think you should check where exactly the out-of-memory condition > occurs (stacktrace of the exception).

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread 1T3XT info
Markus Meyer wrote: > It's entirely possible that something is just throwin an out of memory > exception when there actually is enough memory available. Correct! I've experienced similar problems in the past. The JDK sometimes throws errors that aren't always accurate. The stacktrace can tell you

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Markus Meyer
It's entirely possible that something is just throwin an out of memory exception when there actually is enough memory available. I think you should check where exactly the out-of-memory condition occurs (stacktrace of the exception). Markus Massimiliano Ziccardi schrieb: > The only object I t

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:26 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > The only object I take in memory is the PDF reader, that, of course get > closed and recreated (with a new instance) after each signature. > > That should clean the memory, if that's not a leak. As

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:28 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi Brian. Thanks for your help. > > I don't think that's a memory limit issue: I have 9 *identical* files. You said you're getting OutOfMemory Exceptions? That's a memory limit issue! > > After I s

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
emory to >>> store the xrefs and other housekeeping objects. >>> >>> Paulo >>> >>> > -Original Message- >>> > From: Massimiliano Ziccardi [mailto:massimiliano.zicca...@gmail.com] >>> > Sent: Tuesday, March 03, 2009 4:10

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
The only object I take in memory is the PDF reader, that, of course get closed and recreated (with a new instance) after each signature. That should clean the memory, if that's not a leak. Do I miss something? Regards, Massimiliano On Tue, Mar 3, 2009 at 6:46 PM, 1T3XT info wrote: > Massimili

Re: [iText-questions] OutOfMemory error

2009-03-03 Thread Brian Busch
ge- >> > From: Massimiliano Ziccardi [mailto:massimiliano.zicca...@gmail.com] >> > Sent: Tuesday, March 03, 2009 4:10 PM >> > To: itext-questions@lists.sourceforge.net >> > Subject: [iText-questions] OutOfMemory error >> > >> >

Re: [iText-questions] OutOfMemory error

2009-03-03 Thread 1T3XT info
Massimiliano Ziccardi wrote: > Thank you for your answer. > > I think the problem is elsewhere: here is the test I did. > > I have 1GB file. With plenty of compressed data. You must also take plenty of overhead due to object structures that are kept in memory > I copied the 1GB file 9 times. >

Re: [iText-questions] OutOfMemory error

2009-03-03 Thread Massimiliano Ziccardi
imiliano.zicca...@gmail.com] > > Sent: Tuesday, March 03, 2009 4:10 PM > > To: itext-questions@lists.sourceforge.net > > Subject: [iText-questions] OutOfMemory error > > > > Hi all. > > > > I need to sign 9 files each of them 1GB long... > >

Re: [iText-questions] OutOfMemory error

2009-03-03 Thread Paulo Soares
xt-questions@lists.sourceforge.net > Subject: [iText-questions] OutOfMemory error > > Hi all. > > I need to sign 9 files each of them 1GB long... > > I instantiate the reader with > PdfReader reader = new PdfReader(new > RandomAccessFileOrArray(fIn.getAbsolutePath(), fals

[iText-questions] OutOfMemory error

2009-03-03 Thread Massimiliano Ziccardi
Hi all. I need to sign 9 files each of them 1GB long... I instantiate the reader with PdfReader reader = new PdfReader(new RandomAccessFileOrArray(fIn.getAbsolutePath(), false, true),null); and then I add the signature with: PdfStamper stp = PdfStamper.createSignature(reader, new BufferedOutput

Re: [iText-questions] outofmemory error while concatenating 850 files

2005-08-12 Thread Paulo Soares
Next week I'll write a FAQ about this. - Original Message - From: "rk" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; Sent: Friday, August 12, 2005 7:19 PM Subject: Re: [iText-questions] outofmemory error while concatenating 850 files

Re: [iText-questions] outofmemory error while concatenating 850 files

2005-08-12 Thread rk
Friday, August 12, 2005 1:21 PM Subject: Re: [iText-questions] outofmemory error while concatenating 850 files Use PdfCopy. - Original Message - From: "R K" <[EMAIL PROTECTED]> To: Sent: Friday, August 12, 2005 3:57 PM Subject: [iText-questions] outofmemory error wh

Re: [iText-questions] outofmemory error while concatenating 850 files

2005-08-12 Thread Paulo Soares
Use PdfCopy. - Original Message - From: "R K" <[EMAIL PROTECTED]> To: Sent: Friday, August 12, 2005 3:57 PM Subject: [iText-questions] outofmemory error while concatenating 850 files Hello I am trying to concatenate 850 files to one using the below mentioned code. Pd

[iText-questions] outofmemory error while concatenating 850 files

2005-08-12 Thread R K
Hello I am trying to concatenate 850 files to one using the below mentioned code. PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(output)); PdfReader reader = null; for (int i = 0; i < pages.size(); i++) { reader = new PdfReader