Views:

Behavior:
DocuWare Desktop does not process any documents and the connection shows a red X.
Furthermore it is not possible to open the Web Configuration page.

When calling the URLs

the following error message is displayed:
"Memory gates checking failed because the free memory (... 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."

Cause:
This often happens on Windows Small Business Servers, because MS SQL Server and MS Exchange already consume a big part of the available memory.
This can lead to not enough memory being available to start the DocuWare Settings Service (WCF Service).

The Settings Service and the Job Server are central services which are used by many DocuWare Components. Without this Services DocuWare cannot be used.

Solution:
One Solution could be to limit the available memory for MSSQL, see http://msdn.microsoft.com/en-us/library/ms178067.aspx
In any case, we recommend to increase the available memory!

As a temporary solution you can decrease the minimum required available memory to a lower limit (e.g. 1% of total memory). To do this, add the following parameter to the files:

  • "C:\Program Files (x86)\DocuWare\Web\Settings\Web.config"
  • "C:\Program Files (x86)\DocuWare\Web\JobServer\Web.config"


<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="1" />
<bindings>


After saving the changes, the Settings Service and the Job Server should be available again.
There is no restart of any DocuWare component required.