I hope you could help me.
I use WCF in my program. Part of this involves using ServiceHost in a self-service type script using netNamedTypeBinding. When I include ServiceHost in my class and then create an instance of this class (at the moment, ServiceHost is set to null), memory usage increases by about 9 MB. If I comment on the ServiceHost attribute, the memory does not jump.
This is a pretty old piece of memory used by ServiceHost. Is there anyway to shorten this or is there a version of ServiceHost that is more compact? To ask for despair is really the way I need so that my program has the most efficient memory.
Thanks so much for your time.
source
share