My Oracle Support Banner

Connection Leak In 12c OIM API - GetAccountsProvisionedToUser() Where PopulateAccountData Is True (Doc ID 2537106.1)

Last updated on AUGUST 11, 2021

Applies to:

Identity Manager - Version to [Release 12c]
Information in this document applies to any platform.


A custom job is being used(Update Process Forms) to process user data and update them to process form (UD tables) and then update to Targets, The job uses OIM API to update users. This job was running fine in OIM 11gR2PS3 (OIM but after upgrade to OIM, the custom job is using more connections and exhausting all connections available in data-source oimOperationsDB. There is a memory leak in underlying API as the custom code doesn’t have any connection open.


1. Create a test class TestOimClient which is calling provisioningService.getAccountsProvisionedToUser(id, true)
2. This class file can be run locally as it has main method
3. Run the class file with 12c jars (oimclinet.jar and OIMServer.jar)
4. Found that it is using lots of connections from oimOperationsDB  data-source pool
5. Run the class file with 11g jars
6. Found that it is using only one connection from oimOperationsDB data-source pool

This above mentioned test indicate that provisioningService.getAccountsProvisionedToUser() is causing a memory leak.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.