-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
JavaScript heap out of memory #70
Comments
This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity. |
Hi! |
Can be avoided by setting max heap size. |
I see the issue even after doing Please reopen... |
@kumarabhirup , Initial issue was related to Node.js configuration rather image itself. If you think that your issue comes from something broken on image, feel free to create the new issue and provide minimal repro steps for the issue. |
considering the Node.js document, should be --max-old-space-size=SIZE, but tested both |
|
@AbeerAhmad In
jobs:
make-love:
steps:
- name: "Just do it"
run: |
export NODE_OPTIONS="--max_old_space_size=4096"
npm start
jobs:
make-love:
steps:
- name: "Nothing is impossible"
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm start |
Received ``` Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory ``` while running pnpm lint as part of `pre-release.yml`. According to * actions/runner-images#70 increasing node memory should do the trick.
the compiler seems to hit a heap limit / threshold and breaks the build. Hoping this solves it. ref.: actions/runner-images#70
So the documented option |
in my dockerfile # Set environment variable
ENV NODE_OPTIONS="--max_old_space_size=4096" |
Describe the bug
During build of a vue app using vue cli, nodejs 10x, build fails with the following error:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Virtual environments affected
Expected behavior
Build should run successfully.
Actual behavior
Build fails with the error mentioned above. Error logs
https://github.com/OutdoorRD/trails-viz/commit/b88b74b170ba77c4c0f4cbc817022f69e4b73e4c/checks?check_suite_id=290912535
The text was updated successfully, but these errors were encountered: