Exam system-The problem solution when the underlying framework is released (Window7 IIS6.0) (iii)

Source: Internet
Author: User

"To undertake the previous article"

Exam system-The problem solution when the underlying framework is released (Window7 IIS6.0) (ii)

4, problem description

The memory ingress check failed because there is no xx% (xx bytes) Less than the total memory, so 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.



WORKAROUND: The service is an application running on a computer, and the service performs resource-intensive operations, so it is necessary to ensure that it has sufficient resources available when it starts running. A common and scarce resource is memory. For this reason, the WCF runtime allows you to specify the minimum value of available memory before the service is activated. You can customize this value by using the Minfreememorypercentagetoactivateservice attribute under the <serviceHostingEnvironment> element in the service configuration file. The default value is 5, and if the total memory available is less than 5% of total memory, then the WCF runtime fails and throws an ServiceActivationException exception (such as).

The solution is to change its value to a smaller point.

<servicehostingenvironment minfreememorypercentagetoactivateservice= "1"/>

Exam system-The problem solution when the underlying framework is released (Window7 IIS6.0) (iii)

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.