Skip to content

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #50

@uncloak

Description

@uncloak

Hi,

I build successfully after install, update, then link, and bin starts ok.
The file I load is a 1Gb CSV.

I get that error in the stacktrace:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

I've tried to modify the package.json

  "scripts": {
    "build": "node --max-old-space-size=8192 node_modules/typescript/bin/tsc",
    "build-link": "node --max-old-space-size=8192 node_modules/typescript/bin/tsc && npm link",
    "migrate": "node --max-old-space-size=8192 dist/index.js"
  },

But no success. Any idea where I should modify the max old space size ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions