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

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 !!



Leave a comment

Filed under MS CRM 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s