Stephanie Giovannini (StephanieG8434)
Centene Corporation

Centene Corporation
StephanieG8434 Member since 2017 12 posts
Centene Corporation
Posted: February 18, 2021
Last activity: February 18, 2021
Posted: 18 Feb 2021 10:24 EST
Last activity: 18 Feb 2021 11:31 EST

Automating Internet Explorer: window handle leak

We have some RPA automations which access Internet Explorer failing with this exception:

"The current process has used all of its system allowance of handles for Window Manager objects"

When this occurs, the runtime also crashes but is unable to shut down. So the whole thing hangs until someone restarts the RPA machine. I believe this is happening because the automation often fails to shut down Internet Explorer between automations, even though there is specific code in the automation to stop Internet Explorer.

Runtime version: 8.0.2054.0

Windows OS: Windows Server 2012 R2 Datacenter

Internet Explorer: 11.0.9600.19940

I would like to upgrade the runtime, but our Pega is version 8 and it will be nearly a year before we can upgrade given business priorities. We are in the process of updating the runtime to the most recent 8 SP1, but have to get through a bunch of required approvals first.

Any idea on how to mitigate or eliminate this issue?

Pega Robotic Process Automation 8.0 SP1 Robotic Process Automation Healthcare and Life Sciences Robotics System Architect