Catalog Bulk Load Program Gives "Java Heap Space" Errors (Doc ID 1103994.1)

Last updated on JULY 30, 2015

Applies to:

Oracle iProcurement - Version 12.0.0 to 12.1 [Release 12 to 12.1]
Oracle Bill Presentment Architecture - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

In Oracle iProcurement,  the POXCDXBL module "Catalog Bulk Load - Items Upload" fails with errors whenever the bulkload file contains thousands of rows of data. The errors do not occur when the bulkload file contains a low number of rows.

Due to this issue, catalog bulk load cannot be submitted for a file which has a very large number of rows of data.

ERROR

The session ID is 2750004. Please use this as the AUDSID when querying against FND_LOG_MESSAGES for this request.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2730)
at oracle.jdbc.driver.OraclePreparedStatement.sendBatch(OraclePreparedStatement.java:3687)
at oracle.jdbc.driver.OraclePreparedStatement.alwaysOnClose(OraclePreparedStatement.java:9689)
at oracle.jdbc.driver.OraclePreparedStatement.enterImplicitCache(OraclePreparedStatement.java:3046)
at oracle.jdbc.driver.LRUStatementCache.addToImplicitCache(LRUStatementCache.java:230)
at oracle.jdbc.driver.PhysicalConnection.cacheImplicitStatement(PhysicalConnection.java:6815)
at oracle.jdbc.driver.OracleStatement.closeOrCache(OracleStatement.java:1481)
at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:1448)
at oracle.jdbc.driver.OracleStatementWrapper.close(OracleStatementWrapper.java:75)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.close(OraclePreparedStatementWrapper.java:78)
at oracle.apps.icx.icatalog.loader.sql.JDBCDataLoader.processItemBatch(JDBCDataLoader.java:546)
at oracle.apps.icx.icatalog.loader.sql.JDBCDataLoader.process(JDBCDataLoader.java:249)
at oracle.apps.icx.icatalog.loader.processors.ItemElementProcessor.process(ItemElementProcessor.java:115)
at oracle.apps.icx.icatalog.loader.handlers.ItemLineHandler.endLine(ItemLineHandler.java:456)
at oracle.apps.icx.icatalog.loader.parsers.DataTXTParser.parse(DataTXTParser.java:90)
at oracle.apps.icx.icatalog.loader.CatalogTXTLoaderBase.processJob(CatalogTXTLoaderBase.java:42)
at oracle.apps.icx.icatalog.loader.CatalogLoaderBase.service(CatalogLoaderBase.java:141)
at oracle.apps.icx.icatalog.loader.LoadRequest.start(LoadRequest.java:111)
at oracle.apps.icx.icatalog.loader.LoadRequest.runProgram(LoadRequest.java:46)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

oracle.apps.icx.icatalog.loader.DataLoadRequest
Program exited with status 1



STEPS
The issue can be reproduced at will with the following steps:
1. Log in to Oracle Applications.
2. Select Responsibility: iProcurement Catalog Administration
3. Click Agreements tab.
4. Click Upload subtab.
5. Click the Upload button.
6. Populate the appropriate fields, including the Document Type, Document Number, and File Name, and Submit. The spawned bulk load process fails upon execution.

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