----- Original Message ----- From: "Jody" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 20, 2007 4:49 PM Subject: Re: [iText-questions] How to merge two 3G size pdf fast
> > Hello, > > I read this thread with great interest. We also have to process and merge > large PDF files. While we haven't had files as big as described in this > thread, we have had problems with memory consumption on files as small as > 80MB. Stamping an 80MB file with the old PdfReader constructor took > upwards > of 900MB of heap size. With the new constructor taking a byte array, it is > down to 400MB. This is still a lot of memory and will limit the size of > the > files we'll be able to process. > > So, my question is, is iText looking at ways to decrease memory usage? Are Yes, but as this are not frequent cases it's that high on the to-do list. > you planning any new apis that stream the documents in and out of memory > as > opposed to having the entire doc in memory multiple times over? > That's the same question and PDFs can't be streamed. Paulo > Thanks, > > Jody > > > > > Leonard Rosenthol wrote: >> >> You also need to be aware that Acrobat 6 and earlier have a 2G >> limitation on PDF file size anyway - so that if you really are able >> to merge the documents together, you can only view it with Acrobat 7 >> and later. In addition, no 3rd party PDF viewer is able to work with >> a >2G PDF. >> >> Leonard >> >> On Dec 18, 2006, at 3:31 AM, Davy Lee wrote: >> >>> >>> Dear Paulo, >>> even for two 2G pdf file, do u have a better sosution to merge them, >>> sometimes I don't need to modify the pages, sometime I do. >>> >>> btw, the 2G limitation is for the original pdf file or for the >>> finnal merged >>> file? >>> cheers. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
