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.
FME Automation and Multiple Instances
Best answer by xiaomengatsafe
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
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.