SAP Knowledge Base Article - Preview

3293546 - Performance issue after upgrading your js storefront to newer version

Symptom

After upgrading to Spartacus Version 4.x or SAP Composable Storefront 5.x and above with Angular 12+, you start facing performance issues like increase in response time or Rendering (SSR) starts timing out with logs like:

  • "SSR rendering exceeded timeout"
  • "Rendering of /page/productpage/randomsmartphone.html was not able to complete. This might cause memory leaks!"
  • "PM2 log: [PM2][WORKER] Process 0 restarted because it exceeds --max-memory-restart value (current_memory=X max_memory_limit=Y [octets]"
  • "1 rules skipped due to selector errors:"

Besides in Dynatrace method hotspots you may see the following pattern:


Read more...

Environment

  • SAP Commerce 1905+ 
  • Spartacus 4.x
  • SAP Composable Storefront

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

SSR, Timeout, InlineCriticalCss, PM2, Angular , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , Problem

About this page

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

Search for additional results

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