WCF 内存入口检查失败 Memory gates checking failed
2016-07-13 14:43
756 查看
WCF 内存入口检查失败 Memory gates checking failed
异常信息:内存入口检查失败,因为可用内存(xxx 字节)少于总内存的 xx%。因此,该服务不可用于传入的请求。若要解决此问题,请减少计算机上的负载,或调整 serviceHostingEnvironment 配置元素上的 minFreeMemoryPercentageToActivateService 的值。
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.InsufficientMemoryException: 内存入口检查失败,因为可用内存(438648832 字节)少于总内存的 50%。因此,该服务不可用于传入的请求。若要解决此问题,请减少计算机上的负载,或调整 serviceHostingEnvironment 配置元素上的 minFreeMemoryPercentageToActivateService 的值。
英文报错: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.
出现该错误信息的原因是因为WCF服务激活之前,系统应该具有的最小内存量不足config文件中设置的百分比。
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0" />http://www.cnblogs.com/lyq4/p/3728188.html
相关文章推荐
- Passed-in Resource [resource loaded through InputStream] contains an open stream:cannot determine
- RAID详解
- [LeetCode算法笔记]Find K Pairs with Smallest Sums与优先队列
- int main(int argc, char* argv[])用法解析
- CodeForces 474C Captain Marmot (数学,旋转,暴力)
- leetcode题解-217. Contains Duplicate&&219.Contains Duplicate II
- 2015ACM-ICPC 北京赛区 Problem C. Today Is a Rainy Day
- ScalaException之No TypeTag available for ***
- OpenJ_Bailian——4115鸣人和佐助(带状态的A*)
- 【poj1273】Drainage Ditches(Dinic模板)
- 怎么给VS的main函数传递参数
- ORA-02049: timeout: distributed transaction waiting for lock
- [Hihocoder]1335 : Email Merge (并查集)
- 针对Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解决方案
- poj 1273 Drainage Ditches 最大流问题.
- http://jingyan.baidu.com/article/3065b3b6cc20f6becef8a44f.html
- LightOJ1236 Pairs Forming LCM 素数筛法+分解质因数
- HackerRank "Fair Rations"
- ITelephony.aidl
- NeighboringCellInfo.aidl