SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 54737: An out-of-memory exception might be generated when you drill in the Targets and Metrics table in a category plan

DetailsHotfixAboutRate It

In SAS® Promotion Optimization, the following out-of-memory exception might be generated when you are drilling in the Targets and Metrics table in the Category Plan Details view:

2014-11-18 12:16:59,938 FATAL Worker-25 java.lang.StackTraceElement - Could not access HTTP invoker remote service at [http://servername:8080/miserver/remoting/rppCategoryService]; nested exception is java.lang.OutOfMemoryError: Java heap space
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://servername:8080/miserver/remoting/rppCategoryService]; nested exception is java.lang.OutOfMemoryError: Java heap space
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:212)
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy25.getAggregatedData(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sas.solutions.di.server.api.ServerProxy.invoke(ServerProxy.java:60)
	at $Proxy26.getAggregatedData(Unknown Source)
	at com.sas.solutions.di.server.rpp.api.AggregatedData.refresh(AggregatedData.java:198)
	at com.sas.solutions.di.server.rpp.api.AggregatedData.setProdGeoScope(AggregatedData.java:186)
	at com.sas.solutions.di.studio.rpp.planning.metrics.LoadAggregationsJob.execute(LoadAggregationsJob.java:52)
	at com.sas.solutions.di.commons.jobs.AbstractJob.internalExecute(AbstractJob.java:454)
	at com.sas.solutions.di.commons.jobs.AbstractJob.run(AbstractJob.java:420)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.io.ObjectInputStream$HandleTable.grow(Unknown Source)
	at java.io.ObjectInputStream$HandleTable.assign(Unknown Source)
	at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
	at java.io.ObjectInputStream.readObject0(Unknown Source)
	at java.io.ObjectInputStream.readObject(Unknown Source)
	at java.util.HashMap.readObject(Unknown Source)

This exception is likely to be generated when you are drilling deep into the product-location hierarchy in the Targets and Metrics table. Currently, the client keeps all metrics in the hierarchy in memory. After the fix is available, the client keeps only visible metrics in the hierarchy to reduce memory requirements. However, depending on the pattern of your drill-in and the size of the product-location hierarchy in your category plan, the out-of-memory exception might still be generated.

There is no workaround for this issue.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Promotion OptimizationLinux for x645.2_M35.49.3 TS1M29.4 TS1M4
Microsoft® Windows® for x645.2_M35.49.3 TS1M29.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.