SAP Knowledge Base Article - Preview

2681353 - Poor EPCF JavaScript performance due to Stack Overflow for Object.EPCM._private.getCookieArray

Symptom

  • You may or may not be experiencing poor Enterprise Portal performance
  • Checking the web browser JavaScript console tab you observe a Stack Overflow error such as the below examples (the error message may appear differently depending on the web browser used. Please note the below stack traces have been shortened):
    Internet Explorer 11
    "Stack overflow at line: 483" (Out of stack space)
    js13_epcf.js
    Google Chrome
    "Uncaught RangeError: Maximum call stack size exceeded
    at String.split (<anonymous>)
    at Object.EPCM._private.getCookieArray (js13_epcf.js?rid=1f0145c5f9f7f47d79f15d638959c122:484)
    at Object.EPCM._private.getCookie (js13_epcf.js?rid=1f0145c5f9f7f47d79f15d638959c122:496)
    at Object.EPCM.DSM3.keepAliveGetCookie (js13_epcf.js?rid=1f0145c5f9f7f47d79f15d638959c122:1986)
    at Object.EPCM.DSM3.keepAliveProcess (js13_epcf.js?rid=1f0145c5f9f7f47d79f15d638959c122:2015)"
    Mozilla Firefox
    "too much recursion
    js13_epcf.js:482:5"

  • The issue will be observed even before logging on the Enterprise Portal on the logon page, and during each Portal navigation

Read more...

Environment

  • SAP NetWeaver Application Server for Java 7.3x and higher releases
  • Enterprise Portal

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

DSMKeepAliveStamp, js13_epcf.js, JavaScript, engine, java, script, js, client, side, epcm, model, framework,  msie, ie, ie11, html, stackoverflow, buffer, bufferoverflow, recursion, slow, lag, freeze, hang, freezing, hanging, navigation, navigation, navigations , KBA , EP-PIN-CS , Client Services , EP-PIN-NAV , Navigation , EP-PIN-AI , Application Integration , EP-PIN-PRT , Portal Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.