Symptom
The web browser crashes with not enough memory error when you run an application or story using scripts similar as below:
-
var nos = PlanningModel_1.getMembers(<dimension>, {limit:10000});
for ( var i=0; i < nos.length; i++){
Dropdown_1.addItem(nos[i].id, nos[i].description);
}
If you assign fewer members (for example, var nos = PlanningModel_1.getMembers(<dimension>, {limit:1000});), it works.
Reproducing the Issue
- SAP Analytics Cloud (Enterprise)
Cause
There are too many Dropdown.addItem() in script, which spends extra memory.
Resolution
Use script variable binding for dropdown. For example,
-
var nos = PlanningModel_1.getMembers(<dimension>, {limit:10000});
var keys = ArrayUtils.create(Type.string);
var dess = ArrayUtils.create(Type.string);
for ( var i=0; i < nos.length; i++){
keys.push(nos[i].id);
dess.push(nos[i].description);
}
dropdowndes = dess;
dropdownkey = keys;
Keywords
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Sac, Acquisition, Model, Connect, Story, Tenant, Import, Failed, Using, Working, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, https://hcs.cloud.sap, https://hanacloudservices.cloud.sap, https://cloudanalytics.accounts.ondemand.com, https://hanacloudservices-us.accounts.ondemand.com, https://www.sap.com, https://help.sap.com, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software, dropdown, Dropdown_1.addItem, Dropdown_1.addItem(), addItem, addItem(), not enough memory to open this page, corrupt, corruption, crashing, crashed, out of memory, Aw. Snap , KBA , LOD-ANA-AD-INF , Analytics Designer Infrastructure , Problem