My Oracle Support Banner

Object Migration for Large Interest Rate Code (IRC) Fails with 'java.lang.OutOfMemoryError: Java heap space' (Doc ID 2545893.1)

Last updated on AUGUST 20, 2019

Applies to:

Oracle Financial Services Asset Liability Management - Version 8.0.0 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.0 and later
Oracle Financial Services Profitability Management - Version 8.0.0 and later
Oracle Financial Services Funds Transfer Pricing - Version 8.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

In Oracle Financial Services Profitability Management (PFT), Funds Transfer Pricing (FTP), or Asset Liability Management (ALM), for Object Migration, online or offline, when attempting to migrate Interest Rate Codes (IRC), the process fails for a large IRC with the error below:

Failed Migrating Object..[id:901,name:Large Yield Curve B,type:801,Source Folder: ,Target Folder:null]

The following error exists in the web server FUSIONSUBSYSTEMSService.log:

[13-05-19 22:46:12,578 GMT PM] [ERROR] [WEB] [AMHM] [NA] [MIGRATORTHREAD] Exception occured while retrieving source objects
[13-05-19 22:46:12,579 GMT PM] [ERROR] [WEB] [AMHM] [NA] [MIGRATORTHREAD]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.ofs.reveleus.migration.core.MigratorThread.invokeMigrationAPI(MigratorThread.java:370)
        at com.ofs.reveleus.migration.core.MigratorThread.migrateObject(MigratorThread.java:227)
        at com.ofs.reveleus.migration.core.MigratorThread.run(MigratorThread.java:113)
        at com.ofs.reveleus.migration.service.MigrationServiceProvider.migrateRuleset(MigrationServiceProvider.java:1020)
        at com.ofs.reveleus.migration.mgmt.MigrationHandler.handleAction(MigrationHandler.java:591)
        at com.ofs.reveleus.migration.core.MigrationServlet.service(MigrationServlet.java:84)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        etc.
.
.
.
Caused by: java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:3332)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649)
        at java.lang.StringBuilder.append(StringBuilder.java:202)
        at java.util.AbstractCollection.toString(AbstractCollection.java:465)
        at java.lang.String.valueOf(String.java:2994)
        at java.lang.StringBuilder.append(StringBuilder.java:131)
        at com.ofs.fsapps.commonapps.rates.dao.RateMgmtInterestRate.migrateObject(RateMgmtInterestRate.java:631)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

You tried increasing the Java Memory (Xms) and the X_ARGS_OBJMIG but the error continues to occur.  The Object Migration process also may hang or run for many hours.

Cause

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

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


In this Document
Symptoms
Cause
Solution
References


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