You are viewing limited content. For full access, please sign in.

Question

Question

Occasional errors starting Business Processes - not enough free memory

asked on June 8, 2015

We have a client running 9.2.1 on a server with only 4GB of RAM. They are just now starting to deploy some  workflows with Business Processes, and occasionally when a user tries to start a Business Process, they will get Error Launching Business Process - the remote server returned an error: (500) Internal Server Error.

The error is written to the event log indicating the following:

The service '/Workflow/api' cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (182423552 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.

The client unfortunately cannot add memory to the server at this time. I checked workflow's Web.Config file and didn't find anything related to memory in it - is it possible to add the element referenced to get around this error for now?

1 0

Replies

replied on October 7, 2015

A temporary fix can be to add the following to the Web.Config file.

<serviceHostingEnvironment  minFreeMemoryPercentageToActivateService="1"/>

Details can be found here.

http://stackoverflow.com/questions/11343563/wcf-service-returning-requested-service-could-not-be-activated-the-first

2 0
replied on August 29, 2018

Hi, for us the problem was caused by another process different to laserfiche that was consuming all the memory available in the server so we had to fix that. No changes to laserfiche config were required.

1 0
replied on June 8, 2015

I have run across this message several times. A couple of things I have done. First I would make sure that the server and workstations have up to date Windows updates. I have found this to solve my issue several times. Also Google the error message there is a regedit that deals with the amount of memory and allowing more to be used. I would try that second. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.