Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : EdlxZlnwRGT8q5cmf3gv1x
Dynamics 365 Community / Blogs / HIMBAP / “System.servicemodel.servic...

“System.servicemodel.serviceactivationexception 500″ – WCF Rest Service

Mahendar Pal Profile Picture Mahendar Pal 45,095

Suddenly we started getting above error in one of our MS CRM Dev environment where we have one WCF Rest service running for MS CRM 2013 custom integration. After enabling tracing in wcf service we found below detailed error message

<Message>Memory gates checking failed because the free memory (175853568 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  .</Message>

After adding below line in web config, this issue got resolved.

<serviceHostingEnvironment minFreeMemoryPercentageToActivateService=”0″ />

 

HIMBAP | Need any help in MS CRM 2013 Contact US !!

 



This was originally posted here.

Comments

*This post is locked for comments