WCF Memory ingress check failed memory gates checking failed

Source: Internet
Author: User

This error occurred while doing the JC system:               

English error: Memory gates checking failed because the free memory ({0} bytes) was less than {5}% of total Memory. As a result, the service is not being 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.

This error message occurs because the system should have less than the minimum amount of memory set in the config file before the WCF service is activated. I was in the local debugging when the appearance.

Workaround:Close other unused programs and free up memory. or change the client webconfig system.servicemodel–> servicehostingenvironment–>

The value of the minfreememorypercentagetoactivateservice=1 property is smaller, or 0. as shown in the following code:
<system.serviceModel>    <behaviors>      <serviceBehaviors>        <behavior name= "" >          <servicemetadata httpgetenabled= "true"/>          <servicedebug includeexceptiondetailinfaults= "true"/ >        </behavior>      </serviceBehaviors>    </behaviors>    < Serviceho1tingenvironment multiplesitebindingsenabled= "true" <span style= "color: #ff0000;" >minFreeMemoryPercentageToActivateService=0</span>/>    <bindings>      < Basichttpbinding>






  

WCF Memory ingress check failed memory gates checking failed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.