Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-22 Thread warren
Thanks! That tells me I have to study both approaches. I'll run some tests to see if I can figure out where the tipping point is between files and memory. -- Download IntelĀ® Parallel Studio Eval Try the new software

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread Leonard Rosenthol
y for temp vs. disk is going to be better - but that assumes you can allocate the mrmory... Leonard -Original Message- From: warren [mailto:warrenonsourcefo...@charter.net] Sent: Sunday, March 21, 2010 4:55 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions]

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread warren
Background: My current process is: I create a PDF file on the server using PDFWriter in the first pass. I read it back in with PDFReader to make the second pass I use PDFStamper to add headers, etc. to the over layer, creating a new file in the process. I thought about trying to extend the Pa

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread Paulo Soares
Using file or memory is something that only you can evaluate based on your configuration, type of PDF, available memory, etc. It's always a tradeof. I'm a great fan of dual passes but if you're worried about performance you should try to do it in a single pass. In generic terms PdfReader loads

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread Mike Marchywka
> From > To: itext-questions@lists.sourceforge.net > Date: Sun, 21 Mar 2010 14:26:38 -0500 > Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files > > This is not about general coding philosophy or the merits of

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread warren
This is not about general coding philosophy or the merits of PDFs. I am in an iText forum specifically because I need to produce a PDF. I always evaluate what the customers needs and wants are to produce the proper output. If I didn't want a PDF, I wouldn't be here. End of story. In my opinion

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-21 Thread Mike Marchywka
> From: lrose...@adobe.com > To: itext-questions@lists.sourceforge.net > Date: Sat, 20 Mar 2010 19:50:02 -0700 > Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files > > I would, of course, argue with #3 as would

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-20 Thread Leonard Rosenthol
Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files Ok. So the answers are 1) To understand how PDFReader works, I need to dig into the source files and attempt to learn the underpinnings of the iText code and JAVA. I hadn't planned on this since I am implementing

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-20 Thread Mike Marchywka
> From: warrenonsourcefo...@charter.net > To: itext-questions@lists.sourceforge.net > Date: Fri, 19 Mar 2010 20:34:02 -0500 > Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files > > Ok. So the answers are &g

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-19 Thread warren
Ok. So the answers are 1) To understand how PDFReader works, I need to dig into the source files and attempt to learn the underpinnings of the iText code and JAVA. I hadn't planned on this since I am implementing iText from another language like a black box. I've only played with JAVA direc

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-19 Thread Mike Marchywka
> From: warrenonsourcefo...@charter.net > To: itext-questions@lists.sourceforge.net > Date: Fri, 19 Mar 2010 17:34:37 -0500 > Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files > > I'm asking because I&#

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-19 Thread warren
y, March 19, 2010 4:47 PM Subject: Re: [iText-questions] Perfomance Question - ByteArray vs Files > > > >> From: >> To: itext-questions@lists.sourceforge.net >> Date: Fri, 19 Mar 2010 16:16:14 -0500 >> Subject: [iText-questions] Perfomanc

Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-19 Thread Mike Marchywka
> From: > To: itext-questions@lists.sourceforge.net > Date: Fri, 19 Mar 2010 16:16:14 -0500 > Subject: [iText-questions] Perfomance Question - ByteArray vs Files > > > I'm creating a PDF in two passes with my goal to > end up with it as a file on the server. The