I guess I have posted my question at the wrong place before:
So hopefully somebody in this forum can advise me on how to make my code work properly. Here's what I did:
I created a Windows service that opens a named pipe to receive data from an external application. Latter one connects and transfers up to
250 MB of data via a named pipe after it serialized a LIST of objects.
My windows service deserializes the data back into a LIST of objects, processes them and outputs the entire list into a file.
My issues are:
1.The data transfer is extremely slow! 200 MB take about 7 minutes via named pipe vs. 20 seconds if a file is used.
QUESTION: is it possible to speed up the data transfer somehow?
2.After my Windows service based processing is done I dispose the named pipe, clear the list and even call GC.Collect() but still my service is not releasing the memory.
3.Also I continue to have very high CPU load (98%) on all cores (2xQuad-core) although the service is not doing anything.
It would be great if somebody could advise me on some of the p
View Complete Post