WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/49648990
Exception: System.ServiceModel.ServiceActivationException: The service '/WCF/SynCacheService.svc' cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (140656640 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.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (140656640 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.
at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
Process Name: w3wp
Process ID: 7636
Today, an error occurred in the project, and the above information is prompted. This is a mistake made when using WCF. If you have the same error, please check the sign and take your seat. Memory entry check failed because free memory is less than 5%.
To solve this problem, add a node on the corresponding Web.config of WCF. The node structure is as follows:
<configuration>
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"/>
......
</system.serviceModel>
</configuration>
Under the system.Servicemodel node
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"/>
Read More:
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- The difference, cause and solution of memory overflow and memory leak
- Swap off failed: cannot allocate memory
- CentOS execution command error: – bash: fork: cannot allocate memory processing / viewing process number
- Remember a virtual machine expansion swapoff failed: cannot allocate memory
- VMware failed to lock memory file. Error restoring virtual machine state from file
- Server composer install error: proc_open(): fork failed-Cannot allocate memory
- Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- The docker installation es reported an error of failed; error = – cannot allocate memory ‘(errno = 12)
- Error checking for updates: unable to start update checking (error code is 4:0x80070005 – system level)
- RuntimeError: CUDA out of memory. Tried to allocate 600.00 MiB (GPU 0; 23.69 GiB total capacity)
- Oracle 11g installation prompt ora-27102: out of memory
- [PostgreSQL tutorial] · out of memory issue
- MobaXterm error cuda:out of memory
- Beego method to find memory leak get memprof
- Process of checking the error of connection reset by peer reported by reactor netty
- Error: 701 use DAC connection when out of memory