SAP Knowledge Base Article - Preview

3219884 - CAP application (written in node.js) does not release memory

Symptom

Has custom CAP application written in Node.js and runs on BTP Cloud Foundry (CF). Custom application expose endpoint to external caller such as BTP Job Scheduler Service. When end point get invoked, notice memory usage of application get increased. However after call get finished, application memory usage does not decrease. The memory usage keeps increasing until reach memory limit, finally cause application crash.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP Business Technology Platform Cloud Foundry
  • Node.js Buildpack

Product

SAP Business Technology Platform 1.0

Keywords

heap dump, outofmemory, out of memory, node js, btp, cf, heapdump, nodejs, oom, cap, cds run , KBA , BC-CP-CF-RT , Runtimes Buildpacks , 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.