iText doesn't have any memory leaks but if you found one please tell us where. Your description is just meaningless generalities.
Paulo ----- Original Message ----- From: <[email protected]> To: <[email protected]> Sent: Friday, May 08, 2009 6:56 AM Subject: [iText-questions] Problem of memory leak in multi threadedenvironment. Hi, In our application we are using multiple threads for the generation of reports through Jasper report. Each thread generates one report and export it as a PDF file. We are facing severe problem of memory leak and when we used profiler we found out that there are several com.lowagie classes involved. One of the examples is, - com.lowagie.text.pdf.IntHashtable$IntHashtableEntry [ ] - com.lowagie.text.pdf.IntHashtable - <class> com.lowagie.text.pdf.BidiLine It is a great chance that when one thread is involved in the generation of report, it loads Static variable containing some object references. And once thread completes report generation, this static reference keep occupying heap. As, this is of no use it should be released. But with each thread processing its size goes on increasing until JVM goes out of memory. This is just an assumption which is made by analyzing profiler output. Any help would be highly appreciable. Regards, Umesh ------------------------------------------------------------------------------ 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/
