Java.Lang.OutOfMemoryError With Large Records During a Synchronization

(Doc ID 1084775.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Lite - Version 10.3.0.1.0 to 10.3.0.3.0 [Release 10.3]
Information in this document applies to any platform.
***Checked for relevance on 23-Dec-2013***

Symptoms

You have webtogo-oc4j application and large number of tables and data gets downloaded to client. Eventhough You had successful synchronized upto very recently, and new you started getting following error in log for sync currently:

Exception: java.lang.OutOfMemoryError
null
java.lang.OutOfMemoryError
at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java(Compiled Code))
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java(Compiled Code))
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java(Compiled Code))
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java(Compiled Code))
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java(Compiled Code))
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java(Compiled Code))
at oracle.lite.sync.Subscription.execPrepDirect(Unknown Source)
at oracle.lite.sync.HeliosSession.sendPayload(Unknown Source)
at oracle.lite.sync.HeliosSession.sendSubData(Unknown Source)
at oracle.lite.sync.HeliosSession.downloadSubs(Unknown Source)
at oracle.lite.sync.HeliosSession.startSession(Unknown Source)
at oracle.lite.sync.resume.Client$1.run(Unknown Source)
at oracle.lite.sync.resume.ThreadPool$PoolTask.run(Unknown Source)

Cause

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