title: WCF Windows Service not releasing resources/memory after every call
body: <p>I have created WCF application which is running on Windows Service. It was installed using Windows Installer. I have followed procedure mentioned in following article for same.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/bb332338.aspx#msdnwcfhc_topic4" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/bb332338.aspx#msdnwcfhc_topic4</a></p>
  
  <p>Most WCF properties are kept as default for net.tcp protocol, per call instance and so on.</p>
  
  <p>Memory consumption of service keeps on increasing after every call and does not decrease. At the end it throws OutOfMemory consumption.</p>
  
  <p>Application returns very heavy string based data. With memory-profiler I found memory is still allocated to string objects and increases during call. </p>
  
  <p>As per my understanding string is managed objects should release data once out of scope.</p>
  
  <p>Let me know if any other configuration/coding information is needed specifically.</p>