I have developed 2 workflows. Both are run manually. The first workflow starts the second, waits for it to finish, and then carries on. There are no problems really, it's just that once the second workflow is started, it is in
Starting state for around 5 minutes and then it finally kicks off. When I checked the details, it said that the workflow is in
Starting state due to the heavy load of the machine. I don't believe that this is the actual case because my machine has 8GB of RAM and it's an isolated development machine and I am the only user accessing SharePoint.
Is there any way to improve the performance through code? Should I pay attention to something that might be the cause of this behavior, other than resources leaking (which I checked already)? Thanks.