SAP Knowledge Base Article - Preview

3810092 - FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Symptom

  • In SAP Business Application Studio,  Error executing command "cds build --for hana".
    eason: Command failed: cd /home/user/projects/<project_name> && cds build --for hana <--- Last few GCs ---> Mark-Compact 4045.6 (4142.7) -> 4025.1 (4155.5) MB
    FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 

  • Or you click the Rocket button to build HANA Objects in SAP Business Application Studio


Read more...

Environment

  • SAP Business Application Studio
  • SAP HANA
  • Node.js

Product

SAP Business Application Studio all versions

Keywords

BAS, Business Application Studio, cds build, --for hana, JavaScript heap out of memory, FATAL ERROR, Reached heap limit, NODE_OPTIONS, max-old-space-size, Rocket button, CAP, , OOM, V8 heap, NODE_MAX_SPACE_SIZE , KBA , CA-BAS-FWK-IDE , IDE framework , 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.