inside that thread we would call certain dataproviders.. includes.
sql, oracle, db2... and do some db operations and stream out some data
files...to local system folder.. that is all..all code cleaned up to the max..
can u pls tell me where to see gc working (releasing memory)
also is this recommend practice...?
one more query.. is it better to call a remoting (IIS hosted) inside a
windows service..
thank you for your directions
sahridhayan..
[quoted text, click to view] "Brendan Whelan" wrote:
> > after some hours of usage.. i could see my scheduler service process grows
> > to 100's MB.. some time stays there for long time ....
>
> Difficult to say without knowing what is happening within each thread,
> but if memory is the issue then you need to ensure that each thread is
> keeping resources and objects for the least possible amount of time.
>
> In particular, investigate how the garbage collector works and how you can
> help it out by nulling objects, etc. as soon as they are not needed.
>
[quoted text, click to view] > inside that thread we would call certain dataproviders.. includes.
> sql, oracle, db2... and do some db operations and stream out some data
> files...to local system folder.. that is all..all code cleaned up to the max..
>
> can u pls tell me where to see gc working (releasing memory)
The .NET CLR Performance counters will help you to track this.
Also, lots of good explanation of gc and how to optimise for it at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt05.asp
in the section on Garbage Collection.
B.