________________________________ > Date: Tue, 5 May 2009 14:32:07 +0530 > From: > To: [email protected] > Subject: [iText-questions] cpu load > Could any one answer that using more number of document.add() method will > decrese the performance? > > document.add(table); > > > table.deleteBodyRows(); > > > i can see 100% cpu load during pdf processing. > > As one of the loudest critics of resource wastes, but without specific knowledge of the code or algorithm involved, I would suggest you try looking around sun.com for java profiling tools ( links have been posted here earlier IIRC) and skim through the source code. It could in fact be that there are simple things you can do to speed up the parts you care about if you can find specific offenders. Of course, once you consume enough memory, that should reduce the amount of green you see on task manager as you start using VM a lot...
> > Rajiv Lochan Sabat _________________________________________________________________ HotmailĀ® has a new way to see what's up with your friends. http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
