For the past few days I've been getting this error when hitting my web service: How can this be fixed? Thanks
This error is caused by a artificial check WCF does when trying to instantiate a service. We believe this check is flawed because it stops the service from being instantiated based on the PERCENTAGE of available memory. Our typical web server has anywhere from 16 GB to 32 GB of total memory. Taking that into consideration, a WCF service won't launch if available memory drops below 1.6 GB. This setting makes sense on a smaller server, but on a server with a large amount of memory, the check basically produces an undesired result. Customers can easily override this setting in their application's web.config file by using the following code: <configuration> <system.serviceModel> <serviceHostingEnvironment minFreeMemoryPercentageToActivateService="0" /> </system.serviceModel> </configuration> This setting basically tells WCF to ignore the memory check.