Closed smith558 closed 2 months ago
Hi @smith558. Thanks for opening the issue and sorry for the trouble. This looks like a possible OOM (related: https://github.com/pulumi/pulumi/issues/16596).
You may be able to workaround this by explicitly setting the heap size for Node.js in Pulumi.yaml
:
runtime:
name: nodejs
options:
nodeargs: --max-old-space-size=4096
@julienp, I would expect with https://github.com/pulumi/pulumi/pull/16700 we'd detect this and offer the suggested workaround. Any ideas why that's not happening?
@justinvp Thank you. Will try this.
Bot mistakenly closed this because a PR mentioning this got merged, but I don't think this is fixed.
Hi @smith558. Thanks for opening the issue and sorry for the trouble. This looks like a possible OOM (related: #16596).
You may be able to workaround this by explicitly setting the heap size for Node.js in
Pulumi.yaml
:runtime: name: nodejs options: nodeargs: --max-old-space-size=4096
This has resolved my issue. I will leave the GitHub issue open as you seem to have related tasks to do.
This issue has been addressed in PR #17045 and shipped in release v3.130.0.
What happened?
Every 2nd time (sometimes more often) I run
pulumi up
orpulumi preview
I get these errors. It's getting incredibly frustrating and is extremely slowing down my work. There seems to be no clear cause because sometimes the same code runs without a problem and then identical code next time fails with the error. Waiting a minute or longer between performing the commands seems to be the only thing helping so far.Example
N/A
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).