I am able to automate FME Desktop using FMEObjectsDotNet4 using a single instance of FME. I am launching multiple tasks in parallel but it seems that only 1 FME.exe instance is active, although there are multiple fmeobjectsworker.exe items showing up in task manager. I have seen reference to Maximum Number of Concurrent Workspaces on the workspace runner but have not figured out how to properly set this.
Hi @kirk Is there a reason that you prefer using FMEobject? If your goal is to enhance performance, have you considered using a parent workspace calling multiple child workspaces using WorkspaceRunner? If you set "Wait for Job to Complete" to No, it can run multiple workspaces in parallel. Using fmeObject to run multiple processes shouldn't be significant performance advantages over using a simple parent workspace to call Multiple WorkspaceRunners.
If you need higher scalability and performance, FME Server with multiple Engines would be the most recommended approach.
Here are some examples of using workspaceRunner: https://knowledge.safe.com/articles/1469/batch-processing-using-the-workspacerunner-1.html
Here are some more information on FME Server Scalability: https://knowledge.safe.com/articles/1544/fme-server-scalability-1.html
Some more background on concurrent FME processes: https://knowledge.safe.com/articles/139/how-many-concurrent-fme-processes-can-i-run-at-my.html
Hi @kirk Is there a reason that you prefer using FMEobject? If your goal is to enhance performance, have you considered using a parent workspace calling multiple child workspaces using WorkspaceRunner? If you set "Wait for Job to Complete" to No, it can run multiple workspaces in parallel. Using fmeObject to run multiple processes shouldn't be significant performance advantages over using a simple parent workspace to call Multiple WorkspaceRunners.
If you need higher scalability and performance, FME Server with multiple Engines would be the most recommended approach.
Here are some examples of using workspaceRunner: https://knowledge.safe.com/articles/1469/batch-processing-using-the-workspacerunner-1.html
Here are some more information on FME Server Scalability: https://knowledge.safe.com/articles/1544/fme-server-scalability-1.html
Some more background on concurrent FME processes: https://knowledge.safe.com/articles/139/how-many-concurrent-fme-processes-can-i-run-at-my.html
In the mean time, this doesn't rule out FME Server option, as you can deploy the multiple workspaces to FME Server, and use one parent workspace with FMEServerJobSubmitters to call them. And from your own workflow, you can call the parent workspace using FME Server REST API. (There might even be more elegant method with FME Server)