We have a project which is part of a much larger deployed solution (~60 projects) which, when run, produces the following exception.
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt
However, if we reduce the number of projects in the solution, the exception does not occur. Note that this behaviour suggests that the problem is simply a resource limitation, whereas the text of the exception suggests that this is a program bug. Has anyone else had this experience and, if it was a resource limitation what are the guidelines as to how big a deployed file should be, in size or number of projects?
We have multiple projects as our VMs must be able to pick up any task which comes in; our workloads are too unpredictable to have VMs dedicated to do just a subset of automations.