Wednesday, January 4, 2017

Memory gates checking failed because the free memory (xxxxxx bytes) is less than 5% of total memory


When we are trying to execute the WCF Rest service but the service will run properly in the local system but after installing it on to the server it gives the above error
 The solution is simple just set the parameter minFreeMemoryPercentageToActivateService to 0 in the web.config file  
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0" />
 

No comments:

Post a Comment

Git Commands

Git Version   To check the git version Git -v       Git Clone To clone the repository, use the following command: Git clone [u...