-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Node 23 - heap out of memory #55418
Comments
Same issue here 😢 (also using Windows 10) |
Thanks for reporting! Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that. |
For my part, I managed to locate the source of my error: it comes from the import {execa} from "execa"; // Installed: v9.4.1
const $ = execa({preferLocal: true, stdio: "inherit"});
await $`node --version`;
// Error... but OK when `preferLocal` is `false`. I guess I'll just have to open a ticket on the |
In my case I'm afraid it will be almost impossible to locate the source of the error. We have a massive back-end with plenty of packages and I even don't know where to start looking for the root cause. But I have an idea that issue might be related to that one bug: #55414 |
This comment has been minimized.
This comment has been minimized.
This can be reproduced with @cedx's snippet on Windows. The issue on this is |
The issue was fixed in the new version of Node 23.1.0 🩹 |
Also OK on my side with v23.1.0 👍 |
Version
v23.0.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Source code cannot be provided
How often does it reproduce? Is there a required condition?
Reproduced all the time
What is the expected behavior? Why is that the expected behavior?
Application have to run
What do you see instead?
Additional information
Using
--max-old-space-size=8192
in NODE_OPTIONS didn't help 😣The text was updated successfully, but these errors were encountered: