Perm Gen out of Memory Occurs on the Weblogic Server Where URL PX Is Deployed Using refreshInstance (Doc ID 1582574.1)

Last updated on FEBRUARY 29, 2016

Applies to:

Oracle Agile PLM Framework - Version to [Release 9.3]
Information in this document applies to any platform.


Perm Gen out of memory issue occurs when "AgileSessionFactory refreshInstance(String url)" is used to run URL PX

Perm Gen out of memory not to happen by running URL PX using refreshInstance

- When using getInstance is used Perm Gen out of memory does not happen, however then the problem reported in <Note:1279521.1> will surface
- "-Ddisable.agile.sessionID.generation=true" is already used
- is configured properly

The issue can be reproduced at will with the following steps:
1. Setup WebLogic 10.3.6 clustered with 1 admin and 2 managed server nodes
2. Setup URL PX with below code:
String url = "";
IAgileSession isession = null;
Map params = new HashMap();
params.put(AgileSessionFactory.USERNAME, "admin");
params.put(AgileSessionFactory.PASSWORD, "agile");

isession = AgileSessionFactory.refreshInstance(url).createSession(params);
3. Run URL PX multiple times

The issue has the following business impact:
Due to this issue, users cannot unable to run URL PX in failover mode without causing Perm Gen space error
When problem occurs on the production server, it will cause Agile Application Server to stop.


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 hundreds of Community platforms