I have written/deployed a C# service using VS.NET 2003.
This service is pretty simple. It communicates via TCP with a client.
The client sends a request message. When the service receives the request, an stp is executed and a response message is returned to the client.
All of the buffers that are used are static (hard-coded) buffers (with protection for buffer overflows).
The service has multiple threads. There is a thread for each TCP connection with a given client.
I have put in code to call the Garbage Collector's Collect() method when a new TCP connection is initiated.
My (deployed) service is now getting OutOfMemory exceptions. I am not using any objects that would consume memory.
So I am at a loss for this. Who is consuming the memory
None of my classes inherit the IDisposable interface. I don'r think I need the IDisposable interface because there's nothing to be freed by the Displose() method.
Can anyone please help...
TIA
.NET Development8
|