Some elements are cached to be used next time. What you have to see is if generating 10 documents the memory stays at 5% aftwards or not. It's also useful to see if those 5% referres exclusively to iText and remember that the jar itself takes 1.2M of class space and something more after being loaded, this without even creating a single object. Maybe 5% is not such a big number.
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 11:40 > To: Paulo Soares; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: [iText-questions] Memory Hogging > > Hi, > > I understand that java will be heavy... however 5% memory remains used > even after the request has been served. I expected that most of the things > will be garbage collected since the thread has completed execution, page > has been thrown to the client and all references removed. > > BTW I was creating about 150 objects in the page other than Strings. Most > of the Strings I have wrapped up in Paragraphs and the Paragraphs in > cells. I have created only 2 font objects which I am using in all the > paragraphs. > > Shubhrajit > > > > "Paulo Soares" wrote: > > > > > Memory usage depends on what you put inside the report (images, > fonts, > number of pages) and I've yet to find a "light-weight" java > application. If > more users access your application you'll have to add more memory, > there's > no miracles. > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: [EMAIL PROTECTED] > [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, January 31, 2002 11:04 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] Memory Hogging > > > > Hi, > > > > I am new to this tool. I am using it inside weblogic to generate > reports > > on the fly. Our weblogic runs with an assigned memory of 128 MB. > > > > Since we had some performance issues earlier, we run weblogic in > Verbose > > mode to see the garbage collection activities. Currently I am the > only> user accessing the test server and I am accessing only the PDF > generation > > module. > > > > I found that after every report , this tool is hogging up about 5% > of the > > memory. Is it an error in the part of the tool or I am using it > wrongly > > ??? > > > > This might turn into a big issue as in my production server 150 > users will > > access the application, which has other heavy modules. > > > > Any help is appreciated. > > > > Shubhrajit > > > > > > > > > > > > > > > > _____ > > > > Get Your Private, Free E-mail at Mailmetoday.com > > > _____ > > Get Your Private, Free E-mail at Mailmetoday.com <http://mailmetoday.com> _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
