Hiya,
Hoping you could help me please..
I am using WCF in my program. Part of this includes using ServiceHost in a self-service type scenario using a netNamedTypeBinding. When I include ServiceHost in my class and then instantiate that class (ServiceHost is set to null at this point), the memory usage increases by approx 9Mb. If I comment out the ServiceHost attribute the memory doesnt jump.
This is a fair old chunk of memory being used by ServiceHost. Is there anyway to cut this down or is there a version of ServiceHost that is leaner? Asking out of desperation really as I need to my my program as memory efficient as possible.
Many thanks for your time