Allocation Calculation Engine Crashes With "OUT OF MEMORY ERROR" (Doc ID 1948212.1)

Last updated on OCTOBER 02, 2016

Applies to:

Oracle Retail Allocation - Version 13.2.6 to 13.2.9 [Release 13.2]
Information in this document applies to any platform.

Symptoms

When more than 2000+ stores are used in an allocation, the Oracle Retail Allocation 13.2.x calculation engine crashes with a memory error even if there is 4 GB of memory available.


Steps to Recreate:

  1. Create an allocation.
  2. Select a location list with more than 2000 stores.
  3. Calculate.
  4. Note that the calculation engine crashes with the below errors:
 2014-07-15 15:42:41,373
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,373 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 ***xxxxx**BEFORE CONVERTING TO ARRAY****getStoresWithWhInfo()***
 2014-07-15 15:42:41,373
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,373 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 ***SIZE of the StoreList***in ***getStoresWithWhInfo()***2461
 2014-07-15 15:42:41,373
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,373 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 ***getStoresWithWhInfo()***
 2014-07-15 15:42:41,374
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,373 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 Max mem: 4294967296
 2014-07-15 15:42:41,374
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,373 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 Total mem: 4294967296
 2014-07-15 15:42:41,374
 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc) for key/userNameAlias(dsAlias).
 2014-07-15 15:42:41,374 DEBUG com.retek.alloc.db.rms.v11.StoreDao (?:?) -
 Free mem:3992715320
 Exception in thread "Thread-4" java.lang.OutOfMemoryError
 Exception in thread "QueueThread Queue" java.lang.OutOfMemoryError

 

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