Wcf&appfabric: Exception message: Memory ingress check failed

Source: Internet
Author: User

Bug Description

Sender Information: system.servicemodel.servicehostingenvironment+hostingmanager/31242459 exception: System.ServiceModel.ServiceActivationException: The service "XX.XAMLX" could not be activated due to an exception during compilation. The exception message is: The memory ingress check failed because the available memory (310542336 bytes) is less than 5% of the total memory. Therefore, the service is not available for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of Minfreememorypercentagetoactivateservice on the servicehostingenvironment configuration element: ---> system.insufficientmemoryexception: Memory ingress check failed because available memory (310542336 bytes) is less than 5% of total memory. Therefore, the service is not available for incoming requests. To resolve this issue, reduce the load on the computer, or adjust the value of Minfreememorypercentagetoactivateservice on the servicehostingenvironment configuration element.

Solution Solutions

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

System.servicemodel–>

Servicehostingenvironment–>

The value of the Minfreememorypercentagetoactivateservice=1 property is smaller, or 0.

<system.serviceModel> <behaviors> <serviceBehaviors> <behavior name=""> <servicemetadata httpgetenabled="true"/> <servicedebug includeexceptiondetailinfaults="true"/> </behavior> </serviceBehaviors> </behaviors> <serviceho1tingenvironment Multi Plesitebindingsenabled="true"<span style="color: #ff0000;">minfreememorypercentagetoactivateservice=0</span>/> <bindings> <basicHttpBinding>

or restart the service:

Document:

https://yq.aliyun.com/articles/10188

Https://msdn.microsoft.com/magazine/hh394143.aspx

Wcf&appfabric: Exception message: Memory ingress check 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.