[bug] Memory gates checking failed in WCF

bug description

Exception message: Memory entry check failed because free memory (xxx bytes) is less than xx% of total memory. Therefore, the service is unavailable for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment configuration element.

Explanation: An unhandled exception occurred during the execution of the current web request. Please check the stack trace for details about the error and where in the code it is causing the error.

Exception Details: System.InsufficientMemoryException: Memory entry check failed because free memory (438648832 bytes) is less than 50% of total memory. Therefore, the service is unavailable for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment configuration element.

英文报错:Memory gates checking failed because the free memory ({0} bytes) is less than {1}% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

The reason for this error message is because the minimum amount of memory the system should have before the WCF service is activated is below the percentage set in the config file.

solution

Close other unused programs to free up memory. or change the configuration file

system.serviceModel–>

serviceHostingEnvironment–>

The minFreeMemoryPercentageToActivateService=1 property value is smaller, or 0.

Summarize

This error occurs when the project is deployed at the customer, which probably means that it is caused by insufficient memory. Solve the problem by modifying the configuration file.

  • Blog address: http://www.cnblogs.com/wolf-sun/ 
    Blog copyright: If there are any inappropriate or wrong places in the text, I hope you can point out the masters, so as not to mislead others. If you think this article is helpful to you, it is better to [recommended]! If you have better suggestions, it is better to leave a message to discuss and make progress together! Thank you again for your patience in reading this article.

bug description

Exception message: Memory entry check failed because free memory (xxx bytes) is less than xx% of total memory. Therefore, the service is unavailable for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment configuration element.

Explanation: An unhandled exception occurred during the execution of the current web request. Please check the stack trace for details about the error and where in the code it is causing the error.

Exception Details: System.InsufficientMemoryException: Memory entry check failed because free memory (438648832 bytes) is less than 50% of total memory. Therefore, the service is unavailable for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment configuration element.

英文报错:Memory gates checking failed because the free memory ({0} bytes) is less than {1}% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

The reason for this error message is because the minimum amount of memory the system should have before the WCF service is activated is below the percentage set in the config file.

solution

Close other unused programs to free up memory. or change the configuration file

system.serviceModel–>

serviceHostingEnvironment–>

The minFreeMemoryPercentageToActivateService=1 property value is smaller, or 0.

Summarize

This error occurs when the project is deployed at the customer, which probably means that it is caused by insufficient memory. Solve the problem by modifying the configuration file.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325314734&siteId=291194637