When I watch the service in Windows Resource Monitor, I see the Commit (KB) at 84,500 and steadily increasing at about 4 MB an hour.
Makes no sense to me - Are these things related at all? Or I am way off base as to what I am looking at?
In your case it seems like you might have an unmanaged memory leak. To get more information about the unmanaged memory usage you can use the unmanaged resources tracker. To use the resources tracker you need to start your service using the profiler (i.e. you cannot attach to the process). Use the command "Profile Windows service", click "Next" a few times and enable the unmanaged resources tracker. The first time you profile a process with the resources tracker enabled, symbol files need to be loaded, which can cause the profiled process to run very slowly. This will be faster on subsequent runs.
Hopefully the information presented by the resources tracker will help you locate the memory problem.
SciTech Software AB
Users browsing this forum: Google [Bot] and 28 guests