本文共 774 字,大约阅读时间需要 2 分钟。
在做JC系统时,出现这样的错误:
英文报错:Memory gates checking failed because the free memory ({0} bytes) is less than {5}% 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.
出现该错误信息的原因是因为WCF服务激活之前,系统应该具有的最小内存量不足config文件中设置的百分比。我是在本机调试的时候出现的。
minFreeMemoryPercentageToActivateService=0/>