Issues with npm datasource updates hitting memory limits on Mend-hosted infrastructure
#40942
Replies: 5 comments 16 replies
-
|
One attempt at fixing using |
Beta Was this translation helpful? Give feedback.
-
|
#40957 is a suggested change (which we can then use on Mend-hosted) |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jamietanna, we've been hitting this consistently in our repo for 4 days in a row (therefore blocking any dependency upgrades). Is there an official workaround at the moment? Happy for you to use our repo if you need a reproduction case. |
Beta Was this translation helpful? Give feedback.
-
|
A couple of tests I've done so far with (against a few repos who've reported issues): {
"toolSettings": {
"nodeMaxMemory": 1024
}
}seem to be going positively - I'll do a little bit more testing, then we'll have this set across all repos |
Beta Was this translation helpful? Give feedback.
-
|
@jamietanna As mentioned in pnpm/pnpm#8441 (comment), this situation is getting worse on pnpm v11. I wonder if Renovate could expose a way to set PNPM_MAX_WORKERS or PNPM_WORKERS (code). Reducing the number of workers might lower pnpm’s memory usage. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
A Mend.io-hosted app
Which platform you running Renovate on?
GitHub.com
Which version of Renovate are you using?
42.95.2
Please tell us more about your question or problem
We've recently seen an increase in projects using
pnpmandyarnhitting memory issues when installing dependencies on a projectpnpmRenovate stopped working on the open-source software fast-check #40541yarnJob fails with kernel-out-of-memory #40352yarn: Frequent intermittent kernel out of memory errors (with `npm` datasource) #38880pnpm: Renovate started failing with "kernel-out-of-memory" #40940pnpm: Increase memory - job fails with kernel-out-of-memory #40935pnpm: Renovate-job started to fail with a kernel-out-of-memory Exception #40943pnpm: Renovate job fails with kernel-out-of-memory #41020pnpm: Increased resources for OSS organization gemini-hlsw #41685We're in the process of investigating this further, and will share updates in this Discussion.
Related upstream issue: pnpm/pnpm#8441
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions