It's a shot in the dark: the GC's memory release on memory consumed is not predictable. You may want to confirm this by using idisposable to accelerate the release process.

Derrick Okundaye wrote:
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,

Derrick


-----Original Message-----
From: Digy [mailto:[EMAIL PROTECTED]
Sent: 11 July 2008 21:22
To: lucene-net-user@incubator.apache.org
Subject: RE: Running index as a Server Application

Are you sure that your code or Lucene.Net does not have a memory leak?. If
there is, changing your code to service will not solve your problem.

DIGY

-----Original Message-----
From: Derrick Okundaye [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2008 1:17 PM
To: lucene-net-user@incubator.apache.org
Subject: RE: Running index as a Server Application

Hi Nic

I like the idea of a service hosted in IIS using WCF.  That will require
investigation and may just work.

Thanks.

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: Nic Wise [mailto:[EMAIL PROTECTED]
Sent: 11 July 2008 11:13
To: lucene-net-user@incubator.apache.org
Subject: RE: Running index as a Server Application

I've done an external service, talked to via remoting, to do this. It
worked well. Pity you can't do a service, hwoever you COULD run a
separate website/service (WCF maybe) hosted in IIS, in it's own app
pool. Atleast then it's separate from your website, so you can change
the settings, make it recycle on a higher RAM usage or something?

But, a service, if they will let you, would be preferable.

-----Original Message-----
From: Derrick Okundaye [mailto:[EMAIL PROTECTED]
Sent: 11 July 2008 11:01
To: Derrick Okundaye; lucene-net-user@incubator.apache.org
Subject: Running index as a Server Application

Hi,



The size of my index is about 3.5GB.  I have 2 websites searching and
displaying the results from the index.  The problem l am having is after
a while aspnet_wp is brought down because too much memory is being
consumed.  I have now separated the 2 websites to run within their own
application pools with constant recycling after they hit 500MB.  This in
itself is leading to loss of sessions, especially when the results is
being paged.



I was wondering if anyone of you have experience with calling the index
from a website.  How do you ensure that the memory consumption does not
grow no matter how many calls are being made to the index?
Unfortunately, l cannot run it as a Windows Service because my network
administrator would not let me.  How else can l enable the index to run
as a Server application?



Regards,

Derrick



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.




_______________________________________________________________________

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 e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated. If you have received it in error, please delete it from your
system. Do not use, copy or disclose the information in any way nor act
in reliance on it and notify the sender immediately.

Please note that the BBC monitors e-mails sent or received. Further
communication will signify your consent to this

This e-mail has been sent by one of the following wholly-owned
subsidiaries of the BBC:

BBC Worldwide Limited, Registration Number: 1420028 England, Registered
Address: Woodlands, 80 Wood Lane, London W12 0TT
BBC World Limited, Registration Number: 04514407 England, Registered
Address: Woodlands, 80 Wood Lane, London W12 0TT
BBC World Distribution Limited, Registration Number: 04514408,
Registered Address: Woodlands, 80 Wood Lane, London W12 0TT

________________________________________________________________________
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
________________________________________________________________________

Reply via email to