A fix is available
APAR status
Closed as program error.
Error description
RAM v7.5.0.2 Java API does not fully release memory after session.clear() and eventually it resulting in an OutOfMemoryError.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** This was fixed in v7.5.1.2 (due out 1Q13). Please refer to Jazz work item 69710 --? https://jazz.net/jazz02/resource/itemName/com.ibm.team.worki tem.WorkItem/69710 A workaround for customers on 7.5.0.2: Add the following code after calling session.clear(); Note that you must replace the strings "https://myserver/ram", "username", and "password" with the values for your server. The "session" variable is the variable you use for RAMSession. try { Field resourceSetField = session.getClass().getDeclaredField("fResourceSet"); resourceSetField.setAccessible(true); resourceSetField.set(session, null); Field serverToLocalEMFURIResourceMapField = session.getClass().getDeclaredField("fServerToLocalEMFURIRes ourceMap"); serverToLocalEMFURIResourceMapField.setAccessible(true); serverToLocalEMFURIResourceMapField.set(session, new HashMap()); Method createClient = session.getClass().getDeclaredMethod("createClient", new Class[]{String.class, String.class, String.class, String.class}); createClient.setAccessible(true); createClient.invoke(session, "https://myserver/ram/", "username", "password", null); } catch (SecurityException e) { e.printStackTrace(); } catch (NoSuchFieldException e) { e.printStackTrace(); } catch (IllegalArgumentException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); }
Problem conclusion
This was fixed in v7.5.1.2 (due out 1Q13). Please refer to Jazz work item 69710 --? https://jazz.net/jazz02/resource/itemName/com.ibm.team.worki tem.WorkItem/69710 Peter Walker
Temporary fix
Comments
APAR Information
APAR number
PM68048
Reported component name
RATL ASSET MGR
Reported component ID
5724R4200
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-07-02
Closed date
2013-04-01
Last modified date
2013-04-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL ASSET MGR
Fixed component ID
5724R4200
Applicable component levels
R750 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUS84","label":"Rational Asset Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 October 2021