Hi Joshua
Yes BP supports 4 different COM API type Mainframes (IBM, Micro Focus, OpenText and Rocket), I know.
Yes I am not saying you have to use 2 BO's, like I have, but if you do not have control over which session identifier the mainframe connects to, then having 2 BO's is a better solution. Yes, when having 1 BO's and calling terminate action, the application terminates.
But when you have 2 BO's, the terminate action in the Mainframe BO (not Mainframe win32 BO), detaches instead of terminating.So having 2 BO's where detaching is possible could free up memory, and is therefore advisable.
But yes, I have not used COM API type mainframe's, correct.
Not sure if this can help you:
https://portal.blueprism.com/forums/technical-queries/processobject-studio/wrap-repeatedly-called-processes-object &
if you write ""how do i diagnose and avoid out of memory issues"" in the ""Have a question"" Bold360ai widget, you see to the left on most pages on portal.blueprism.com (The questionmark in the blue & white box to the left):
""Garbage Collection
The concept of ""garbage collection” is that the operating system will periodically (during “’free time”) reclaim memory which has been designated as available to be recovered – that is, memory which is no longer being used to store information required by running applications.
Blue Prism retains data which has been created within it until the “automate.exe” process is closed down. In order to reclaim memory which data is occupying whilst the Blue Prism process is running, the following strategies can be employed to attempt to force the underlying operating system to recover unused memory, and therefore make it available to Blue Prism again.
Note: The concept of garbage collection is a complex one, and the following information is a simplification of the underlying decision-making which the operating system is doing. There isno guarantee that the operating system will free up memory simply because these tactics have been employed, as this is outside of the control of any specific application.
Forcing garbage collection
Blue Prism can use .NET code functions in a Code Stage. One useful function relating to garbage collection is the GC.Collect() function. This requests that the operating system recover memory marked for collection as soon as possible. To use this function create a Code Stage in an Object and then publish the page as a Business Object action which can then be called from within a Process.""
So create a code stage calling that function, but I cannot tell you what ""as soon as possible"" means.
BR,
Mustafa