Windows Service Memory Usage.

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

Hi,

I previously posted this in the performance newsgroup but thought I
might get some better exposure here.

I have a windows service thats sole purpose is to cache a large set
of
data from a web service. The service writes the data to cache and
makes it available to all clients. I have seen a drop in load time
of
the data from 8s to 2s.


The windows service subscribes to an event from the web service to
get
dataset changes and write them out to the cache as they occur.


What I don't understand is why the memory usage is so high. Most
times it hovers at around 100MB... but there are times when I have
left the service running for a couple of days and seen it at 500MB -
700MB?


The only other thing the service does is write out a log file of when
it generated events and that it is listening to the web service for
events.


Any ideas? I don't think it should be this high.


Greg
 
Hello,

the only thing that will help you here is profiling. Get the Memory profiler
from Scitect (they have a 30 day trial period) and profile the memory usage.
This will give you hints where the memory is being used.

Best regards,
Henning Krause
 
Back
Top