Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
uncloak opened this issue Jan 6, 2021 · 0 comments

Comments

@uncloak
Copy link

uncloak commented Jan 6, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant