I have a WCF service hosted in a console application. and I have ChannelFactoryto call WCF Contracts.
Problem: when I call the operation returning the values, it seems that the returned value is cached somewhere by the service when it is serialized.
I check the use of service memory through the task manager under windows 7. When I call an operation that returns nothing, the memory does not increase, but when I call an operation that returns data, the memory grows and stays that way even after the data is returned to the customer.
I assume this is a serialization caching issue?!?
source
share