Yes, it is a memory leak and l have tried to use the .net profiler but l am unable to decode properly what it is telling me.
However, l did use it to reduce the footprint of the String Class as my application is String Object intensive. I am looking at implementing the index application as a WCF project, because I am having to load the index every time a search operation is called. I think been able to load it once and then reload it only when an update has occurred will be best, but 2.5GB (and growing) in the cache is pretty big. Derrick Okundaye .Net Developer Thomas Telford Limited 1 Heron Quay London E14 4JD Tel: +44 (0)20 7665 2456 Fax: +44 (0)20 7537 2529 E-mail: [EMAIL PROTECTED] www.thomastelford.com Civil engineers at the heart of society, delivering sustainable development through knowledge, skills and professional expertise. -----Original Message----- From: Derrick Okundaye [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 18:32 To: lucene-net-user@incubator.apache.org Subject: RE: Running index as a Server Application Derrick Okundaye .Net Developer Thomas Telford Limited 1 Heron Quay London E14 4JD Tel: +44 (0)20 7665 2456 Fax: +44 (0)20 7537 2529 E-mail: [EMAIL PROTECTED] www.thomastelford.com Civil engineers at the heart of society, delivering sustainable development through knowledge, skills and professional expertise. -----Original Message----- From: Tim Haughton [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 07:10 To: lucene-net-user@incubator.apache.org Subject: Re: Running index as a Server Application Sounds like a good ol' fashioned memory leak. The fact the GC isn't collecting it means there are references to it somewhere. A profiling tool could help you isolate precisely which objects are hanging around. I'm not familiar enough to LDN to guess whether there could be a problem there. Regards, Tim Haughton www.agilemicroisv.com 2008/7/14 Derrick Okundaye <[EMAIL PROTECTED]>: > Hi DIGY > > I thought so at first and refined my code to release resources as soon as > possible, but IIS does not seem to wind down its memory used even when no > calls are being made to the index. > > My application is very OO, and since the index is currently loaded into the > aspnet_wp process, nothing is being released. > > When l ran it as a server application on my local computer, it used to ramp > down successfully, but like l said, l am not allowed to run it as a server > application nor a windows service on the network. > > Any further insight would be greatly appreciated. > > Regards, > > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service on behalf of the Institution of Civil Engineers. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________________________________ This communication, and the information it contains: (a) is intended for the person(s) or organisation(s) named above and for no other persons or organisations and (b) may be confidential and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. Thomas Telford Ltd Company Registration No: 2556636 Registered Office: 1-7 Great George Street, London SW1P 3AA. This email has been scanned for all viruses by the MessageLabs SkyScan service on behalf of the Institution of Civil Engineers. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service on behalf of the Institution of Civil Engineers. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________________________________ This communication, and the information it contains: (a) is intended for the person(s) or organisation(s) named above and for no other persons or organisations and (b) may be confidential and protected by law. Unauthorised use, copying or disclosure of any of it may be unlawful. Thomas Telford Ltd Company Registration No: 2556636 Registered Office: 1-7 Great George Street, London SW1P 3AA. This email has been scanned for all viruses by the MessageLabs SkyScan service on behalf of the Institution of Civil Engineers. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________