I am calling close explicitly on the stream, and it does not seem to help. What I can tell so far is if I run the process that generates 300,000 files from a console application The kernel memory usage climbs but the server does not die. If I run the same process from a WCF service (IIS), then the server reboots after about 60,000 files. I will try to run the process in a separate thread in IIS to see if it is the IIS process that has the limitations.
-----Original Message----- From: Mike Marchywka [mailto:marchy...@hotmail.com] Sent: August 12, 2009 11:10 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] out of Kernel memory > Maybe it's related to the indexing sevice. > > Anyway, I think the notion that there is some feature > > that scans the files is a good one. Now you have three suggestions: > > Virus checker > > SVN (or some other similar tool) > > The windows indexing service (not sure about the name, but I mean the > service that indexes files to enable faster searching). > Just for my own curiosity, is there some reason that calling FileStream.close() is not an option? ( like it doesn't exist or it is called in the itext calls or something?). I can't imagine there is no way to explicitly close a file. Certainly virus scans are known to cause problems like this but I wouldn't rely on the fs becoming unreachable to flush and release instantly but then I know nothing of your runtime. Do you know that zero-reference is supposed to flush and close right away? I've seen some issues in some javas related to this issue IIRC. Curious to at least find out who has the resources. > _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail(r). http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/